JavaScript E Property
Example
Return Euler's number:
Math.E;
Output result:
2.718281828459045
Try it »
Definition and Usage
The Math.E property represents the arithmetic constant e, the base of the natural logarithm, which is approximately 2.718.
Browser support





All browsers support the E property.
Syntax
Math.E
Technical Details
| Return Value: | A number representing Euler's number |
|---|---|
| JavaScript version: | 1.0 |
JavaScript Math object