exp Function

Top  Previous  Next

Returns the exponential value of the argument provided.

Syntax

Math.exp(number)

Arguments

numberA number.        

Return Value

A number, which represents the Euler's number, E, multiplied by the given argument.

Examples

Math.exp(0);      // Returns 0.540302

Math.exp(1);      // Returns 2.718282

Math.exp(10);     // Returns 22026.46

Math.exp(-1);     // Returns 0.3678795

See also

Math.log