JavaScript Math.E
Description
The Math.E
property returns Euler's number.
The Math.E
property returns approximately 2.718.
What is Euler's Number?
Euler's number is the base of natural logarithms.
JavaScript Logarthmic Functions:
The Math.log() MethodThe Math.log2() Method
The Math.log10() Method
The Math.log1p() Method
Logarthmic Properies:
The Math.LN2 PropertyThe Math.LN10 Property
The Math.LOG2E Property
The Math.LOG10E Property
Exponential Functions:
The Math.E Property (Euler's Number)The Math.exp() Method
The Math.expm1() Method
Syntax
Math.E
Return Value
Type | Description |
Number | Euler's number. |
Browser Support
Math.E
is an ECMAScript1 (JavaScript 1997) feature.
It is supported in all browsers:
Chrome | Edge | Firefox | Safari | Opera | IE |
Yes | Yes | Yes | Yes | Yes | Yes |