Currency format for floats?

Joseph Santaniello joseph at src.no
Thu Jun 1 13:20:31 EDT 2000


Hi,

I have an SQL query which I can format to give me a nice value like
23,342.40 which Python squashes into 23342.4 when I stick it into a
list element. Is there a nice way to format floats so they look like
(US) currency?

Thanks,

Joe




More information about the Python-list mailing list