python math problem

Kene Meniru Kene.Meniru at
Fri Feb 15 21:23:29 CET 2013

Joel Goldstick wrote:

> This is not a string, it is scientific notion for 1.53... times 10 to the
> -15th power.  Because of rounding errors caused by doing floating point
> math on in binary, you get a very small number instead of 0.

I was just doing some testing and it was not equating to zero. Perhaps if I 
rounded it up I may be more successful.


KeMeniru at

More information about the Python-list mailing list