Formatting floats

Kevin Smith Kevin.Smith at sas.com
Thu Dec 11 14:32:14 EST 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 sas.com




More information about the Python-list mailing list