[Tutor] atof error

Mike Procario lists at procario.org
Tue Jan 11 21:25:37 CET 2005


I got an unexpected error today using string.atof. 

ValueError: invalid literal for float(): -17,019.797

To me -17,019.797 looks like a perfectly good floating point
number. I cannot find documentation on what the allowed range is.  


--
Mike Procario
"Another casualty of applied metaphysics" -Calvin and Hobbes



More information about the Tutor mailing list