Number.EPSILON

EPSILON — Returns the smallest positive value which when added to 1, gives a result that can still be distinguished from 1.

Description

Number.EPSILON

Examples

Example #1 – EPSILON example
console.log(Number.EPSILON); // 2.220446049250313e-16 console.log(Number(Number.EPSILON).toFixed(20)); // 0.00000000000000022204

External references