Math.E property

The Math.E property contains the number e (Euler's or exponential constant) up to a certain decimal place.

Syntax

javascriptMath.E;

Example

Let's display the value of this constant:

javascriptconsole.log(Math.E);

The code execution result:

javascript2.718281828459045

See also

  • the Math.exp method
    that raises the number e to a given power