[Zope] currency format

Oleg Broytmann phd@phd.russ.ru
Fri, 26 Nov 1999 14:06:58 +0000 (GMT)


On Fri, 26 Nov 1999, Andy  Pahne wrote:
> how to render a floating-point variable throug <dtml-var floatingVar
> fmt=???"> so that I get:
>   1.99
>   2.00
>   0.99
> 1234.99

   <dtml-var "'%3.2f' % myvar">

Oleg.
---- 
    Oleg Broytmann      Foundation for Effective Policies      phd@phd.russ.ru
           Programmers don't die, they just GOSUB without RETURN.