How to convert string to float in Python 1.2
Erik Max Francis
max at alcyone.com
Sat Jan 18 20:44:35 EST 2003
Terry Reedy wrote:
> I believe you have atof() (ascii-to-float) available, either in
> builtins or string module.
There's a string.atof, but you're better off using the float
type/function anyway.
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/ \ Mona Lisa / Come to discover / I am your daughter
\__/ Lamya
7 Sisters Productions / http://www.7sisters.com/
Web design for the future.
More information about the Python-list
mailing list