[Zope] Number Formatting with a Comma

hpinson at indepthl.com hpinson at indepthl.com
Thu Jul 8 19:17:43 EDT 2004


Hi.  How would I format a floating point number so that a comma 
appears between thousands in the HTML output?

Currently I am using C formatting in DTML:

fmt="%.2f"  which outputs: 1999.00

What we would like is 1,999.00

Thanks in advance!

Harlow Pinson
Indepth Learning
Email: hpinson at indepthl.com 
Web: http://www.indepthl.com
Voice: 505-994-2135
FAX: 208-475-7678



More information about the Zope mailing list