[Zope] dtml decimals

Andy McKay andym@ActiveState.com
Wed, 13 Dec 2000 10:11:36 -0800


Well for one thing that example should be <dtml-var "3/2" fmt="%.2f">
--
  Andy McKay, Developer.
  ActiveState.

----- Original Message -----
From: "Andy McKay" <andym@ActiveState.com>
To: "zope-misc" <zope@zope.org>
Sent: Wednesday, December 13, 2000 10:03 AM
Subject: [Zope] dtml decimals


> <dtml-var "3/2" fmt="%.2d"> instead of getting 1.50 as I was expecting I
get
> 1.00, I never seem to be getting decimals. Whats the obivous thing Im
> missing here?
>
> Cheers.
>
> --
>   Andy McKay, Developer.
>   ActiveState.
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>