[Zope] Formatting numbers with commas
Michael Guerrero
mguerrero@tachyon.net
Mon, 14 Oct 2002 16:10:16 -0700
All,
I'm working on my first zope project. This seems like something simple =
to do but I could not find the answers.
I want a numeric value with commas for readability. =20
For example, I want to display 1234567.89 as 1,234,567.89
Is there a format mask for this?
I tried <dtml-var totAmt fmt=3D"dollars-and-cents"> but this only put =
the '$' at the beginning. Is there a suitable 'C format string' for =
this?
I have the zope bible but it did not have what I was looking for.
Thanks.
Mike