Latest web development tutorials

JavaScript E Properties

Math Object Reference JavaScript Math Object

Examples

> Back Euler number:

Math.E;

Output:

2.718281828459045

try it"

Definition and Usage

Math.E attribute represents the arithmetic constant e, the base of the natural logarithms, approximately 2.718 of its value.


Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All browsers support E property.


grammar

Math.E

technical details

return value: A number that represents the number of Euler
JavaScript version: 1.0


Math Object Reference JavaScript Math Object