[Tutor] String Formatting

Isr Gish isrgish at fastem.com
Fri Sep 10 04:20:46 CEST 2004


Hi,

How can I format a integer in a format string with a comma for example
print 'Your Account has %f' %amount
That should print:
Your Account has 1,000.00

Thanks
Isr



More information about the Tutor mailing list