DEV Community

Discussion on: The Lies of "===" operator

Collapse
 
louy2 profile image
Yufan Lou • Edited

Another day, another developer discovers IEEE 754 double-precision floating-point standard.

As exhibit A I present to you

0.1 + 0.2 === 0.3  // false

Reference: floating-point-gui.de/