JavaScript stores numbers in IEEE 754 double-precision (64-bit) binary floating-point format. Integers in the range -9007199254740992 (-2^53) to 9007199254740992 (2^53) can be represented exactly. Numbers outside this range may be inaccurate.
Most floating-point calculations will involve a small error because all real numbers cannot be represented with a finite number of bits. For example, 0.1 + 0.2 evaluates to 0.30000000000000004 if rounding is not applied. These errors are cumulative. This calculator rounds the final answer to 15 significant figures by default. You can change this by entering FIGURES=x where x is a positive integer