JavaScript Math.E

Example

let x = Math.E;
Try it Yourself »

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.



Syntax

Math.E

Return Value

Type Description
NumberEuler's number.


Browser Support

Math.E is an ECMAScript1 (ES1) feature.

ES1 (JavaScript 1997) is fully supported in all browsers:

Chrome Edge Firefox Safari Opera IE
Yes Yes Yes Yes Yes Yes

Copyright 1999-2023 by Refsnes Data. All Rights Reserved.