Controlling number of zeros of exponent in scientific notation

faraz at squashclub.org faraz at squashclub.org
Tue Mar 5 21:09:10 CET 2013


Instead of:

1.8e-04

I need:

1.8e-004

So two zeros before the 4, instead of the default 1.



More information about the Python-list mailing list