Apr-27-2019, 09:09 PM
(This post was last modified: Apr-27-2019, 09:09 PM by Gribouillis.)
Quote:Yes, I am getting an extremely long float at 0.47Read this page in the python documentation. It is not a limitation of python, it is a limitation of the way computers handle floating numbers (namely the IEEE-754 format)
>>> 0.45 + 0.01 + 0.01 0.47000000000000003