Formatting floats

Kevin Smith Kevin.Smith at
Thu Dec 11 20:32:14 CET 2003

I'm trying to get floats formatted in exponent notation but with the 
first non-zero number to the right of the decimal instead of to the left (
e.g. '-.107E2' instead of '-1.07E1').  Is this possible using the string 
formatting operations?

Kevin Smith
Kevin.Smith at

More information about the Python-list mailing list