0

Just had fun tracking down this weird glitch. You can open up console and type in 0.56 + 4 which will give you 4.5600000000000005 in JavaScript. I'm using Chrome Version 26.0.1410.43

Haven't tried in other browsers.

I know about rounding error but what's going on here exactly?

ilovett
  • 3,240
  • 33
  • 39

0 Answers0