It's 123.98699999999999 !
Why is that?
Thanks guys! :)
It's 123.98699999999999 !
Why is that?
Thanks guys! :)
The Python FAQ and tutorial address this issue pretty well, I think. More generally, both are excellent resources, well worth your time to browse if you have any interest in Python!-)
This has changed in/since Python 3.1.
See also: issue 1580
To your (already deleted) addition: Use the decimal package.