Math.exp

Returns e, the base of natural logarithms, raised to a power.

Syntax

exp(value)

Parameters

Return value

A number.

Examples

Math.exp(2)
7.38905609893065
Math.sqrt(Math.exp(2)) == Math.E
true