I think a problem occured when i used long()

Ali alikakakhel3 at hotmail.com
Wed Sep 1 15:01:58 EDT 2004


I did the folloing in python shell:

>>> x = 5.07e-25
>>> x = long(x)
>>> print x
0L

Um... I was under the impresion that long numbers had very very long
precision. But, it seems that in this case it rounded it to zero :(

Please Help. Thank you :)



More information about the Python-list mailing list