[Zope] Currency formatting from within Python Script

Steve Drees drees@rangebroadband.com
Tue, 8 Jan 2002 15:11:29 -0600


 
> Is there an easier way to simply have a float display (round) to 
> two decimal
> places, rather than monkeying around with the access 
> restrictions?  I can add
> the '$' to the string.

print "$%9.2f"
return printed