DEV Community

loading...

Discussion on: JavaScript Interview Question #14: 0.1 + 0.2 = ?

Collapse
lexlohr profile image
Alex Lohr

Every language using IEEE 754 64bit floating point numbers (1 bit sign, 10 bit exponent, 53 bit mantissa) will have the same behavior, JavaScript being no exception.