Number Format

Michael Michael.Winter at tka-ger.thyssenkrupp.com
Wed Aug 28 10:20:37 CEST 2002


How can I set thousand dots to a simple number e.g. (2000 --> 2.000)
Doesn't matter wheter in Python Script or Zope. 

I need this to convert the output in Zope. I yet realized the output
2,000 with
<dtml-var VariableName thousands_commas>. This way i can't use the
function "replace" because the attribute "thousands_commas" works
later on.

But I can't get the format 2.000. Has anyone an idea ?

thanks Michael



More information about the Python-list mailing list