Saturday, 16 July 2016

javascript - 1.265 * 10000 = 126499.99999999999?

When I multiply 1.265 by 10000 , I get 126499.99999999999 when using Javascript.



Why is this so?

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...