2.6.1 - simple division
farsight at gmail.com
farsight at gmail.com
Sun Mar 8 11:04:49 EDT 2009
Thanks all, that's very helpful, sorry to waste your time with a
common question. I have tried the decimal module and will definitely
keep using it if I need to do this kind of calculation again.
I have 1 more question that the floating point article that was linked
didn't really answer:
>>> x = 0.8
>>> x
0.800000000000004
>>> x * 5
4.0
Shouldn't I be expecting something like 4.0000000000002 ?
More information about the Python-list
mailing list