float does not parse '0.000000E+00'
Peter Schneider-Kamp
petersc at stud.ntnu.no
Sat Jun 3 17:42:25 EDT 2000
Paolo Redaelli wrote:
>
> but if I run a program that does x=float(x) where x = "0.000000E+00 "
> (being a string) here's the output.
Can you give some code? I tried the following:
=== BEGIN dumm.py ===
x = "0.000000E+00 "
x = float(x)
=== END dumm.py ===
it worked just fine. What version of Python are you using?
bye
Peter
--
Peter Schneider-Kamp ++47-7388-7331
Herman Krags veg 51-11 mailto:peter at schneider-kamp.de
N-7050 Trondheim http://schneider-kamp.de
More information about the Python-list
mailing list