Math.E

Euler's constant and the base of natural logarithms, approximately 2.718.

Property of Math
Static, Read-only

Description

Because E is a static property of Math, you always use it as Math.E, rather than as a property of a Math object you created.

Examples

The following function returns Euler's constant:

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.