Languages
[Edit]
EN

JavaScript - Math.E property example

7 points
Created by:
telsa
502

The Math.E property returns e mathematical constant (2.718281828459045...).

e is called as Euler's number or as Napier's constant. However, it was discovered by Jacob Bernoulli. It is a mathematical constant used as the base of the natural logarithm.


1. Documentation

Edit
SyntaxMath.E
Resulte number (2.718281828459045...).
Description

E is a static property that keeps e number what is one of the most commonly used mathematical constants.


2. e number approximation example

Edit

To calculate e number following function with infinity series can be used - to get better precision infinite number of iterations with big precision numbers should be used.

References

Edit
  1. e (mathematical constant) - Wikipedia

Alternative titles

  1. JavaScript - Math.E documentation with examples
  2. js - Math.E property documentation with examples
1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

JavaScript - Math documentation (EN)

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join