Get Exponential Method

The Get Exponential method returns e raised to the power of x where:

  • e is the base of the natural logarithms. The value of e internally is approximately 2.7182818284590452354.

  • x is the value that the number argument contains.

If this method cannot convert the value that the number argument contains to a number, then it returns the following value:

NaN

Format

Math.exp(number)

The following table describes the arguments for the Get Exponential method.

Argument Description

number

The exponent value of the base of e.

Related Topics

For more information, see the following topics: