THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

JavaScript E Property

Math Object Reference JavaScript Math Object

Example

Return the Euler's number:

Math.E;

The result will be:

2.718281828459045
Try it Yourself »

Definition and Usage

The E property returns the Euler's number and the base of natural logarithms, approximately 2.718.


Browser Support

Property
E Yes Yes Yes Yes Yes

Syntax

Math.E

Technical Details

Return Value: A Number, representing Euler's number
JavaScript Version: 1.0

Math Object Reference JavaScript Math Object