Controlling number of zeros of exponent in scientific notation

faraz at squashclub.org faraz at squashclub.org
Tue Mar 5 15:09:10 EST 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