Easy way to print numbers with thousand separators?

John Villalovos john at nwjohn.jf.intel.com
Thu May 11 18:57:52 EDT 2000


I was wondering if there was an easy way to print numbers with thousand
separators in them?

For example I want to print the number:  1234567890
			            as:  1,234,567,890

I know I can write a simple little program to do it but I was hoping that there
was already something in the libraries to do this.

Thanks,
John



More information about the Python-list mailing list