Math.E

E — Returns the base of natural logarithms e.

Description

Math.E

Return values

number primitive.

Examples

Example #1 – E example
console.log(Math.E); // 2.718281828459045 console.log(Number(Math.E).toFixed(20)); // 2.71828182845904509080

External references