Re:0.3 - 0.2 == 0.2 - 0.1 is falsy. Which language gets this...
by darkxanthos on Thursday October 04, 2012 @11:32AM
(#4612780)
Oddly Javascript does. Probably more oddly I don't get why that's "right"
[ Parent
| on HN ]
Re:0.3 - 0.2 == 0.2 - 0.1 is falsy. Which language gets this...
by infinity on Friday October 05, 2012 @03:46AM
(#4616012)
I have just tested it on a Windows Vista machine, it doesn't work in Internet Explorer, Opera and Safari. Putting each side of the equation into an alert box shows the difference.