DEV Community

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

Collapse
louy2 profile image
Yufan Lou • Edited on

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/

Collapse
lukeshiru profile image
LUKESHIRU

You also have this beautiful URL: 0.30000000000000004.com/