In javascript, I'm doing this subtraction:
1.0589 - 1.0584
To my best math knowledge, the result should be:
0.0005
But it's not in javascript. The result I get is:
0.0004999999999999449
Am I missing something?
In javascript, I'm doing this subtraction:
1.0589 - 1.0584
To my best math knowledge, the result should be:
0.0005
But it's not in javascript. The result I get is:
0.0004999999999999449
Am I missing something?