Math.exp()

Get the value of ℮ raised to the power of a number.

Signature

Math.exp(x: Number): Number

Description

Gets the value of ℮ raised to the power of x.

See Math.E.

Parameters

Parameter Type Required Description

x

Number

Yes

A number.

Return value

Type Description

Number

Nonnegative number representing ℮ to the power of x, where ℮ is the base of the natural logarithm.

Examples

Math.exp(1)
 2.718281828459045

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!