JavaScript & jQuery Tutorials

JS Home Right Arrow JS Reference Right Arrow Math Right Arrow E

E  Math  class property

Description

Represents Euler's constant which is the base of natural logarithms.

  • Like all class properties E should be used on the class rather than an instance of the class.

Syntax


Signature Description
Math.ERepresents Euler's constant which is the base of natural logarithms.

Parameters

None.

Examples

The code below displays E usage.



alert('Eulers Constant: ' + Math.E); // 2.71828...

Press the button below to action the above code:


Related Tutorials

JavaScript Advanced Tutorials - Lesson 4 - Math




  

go to home page Homepage go to top of page Top