Number.EPSILON
Number.EPSILON is a JavaScript property in the Number category. The difference between 1 and the smallest number greater than 1. The syntax is Number.EPSILON. A typical example: Number.EPSILON // 2.220446049250313e-16. A close sibling is Number.prototype.toFixed(), which formats a number using fixed-point notation. A close sibling is Number.prototype.toExponential(), which returns a string in exponential notation. A close sibling is Number.prototype.toPrecision(), which returns a string with specified precision. A close sibling is Number.prototype.toString(), which returns a string in the specified radix (base). More about this category: Number methods for numeric operations — toFixed, parseInt, isNaN, and more. Related Number methods: Number.prototype.toFixed(), Number.prototype.toExponential(), Number.prototype.toPrecision(), Number.prototype.toString(), Number.isNaN(), Number.isFinite(), Number.isInteger(), Number.isSafeInteger(). This page is part of the free JS Reference documentation covering 1027+ methods, each with syntax, parameters, return values, examples, and common pitfalls. You can try Number.EPSILON immediately in the JavaScript playground, look up unfamiliar terms in the glossary, or return to the JS Reference homepage.