Formatting question : printing numbers with thousands separators ?

Fred Pacquier fredp at mygale.org.nospam
Fri Aug 31 07:33:52 EDT 2001


Sorry if this is a really dumb question, but I believe I did my homework 
(docs, FATS, Google etc.) and the answer still eludes me :

how do I print 246814345 as 246,814,345 (or 246 814 345) ?

TIA,
fp

-- 
YAFAP : http://www.multimania.com/fredp/



More information about the Python-list mailing list