Number format...

Afanasiy abelikov72 at hotmail.com
Sun Jan 5 02:21:09 CET 2003


What do I need to do to convert .1352345 to '0.14' ?

>>> repr(round(.1352345,2))
'0.14000000000000001'




More information about the Python-list mailing list