Math.exp

Math.exp

Math.exp

Function

natural index. Returns e raised to the power of value.

Syntax

Parameters

ParametersTypeRequiredDefault valueDescription
valueNumberYesNoneExponent.

Return value

TypeDescription
Int/FloatReturns e raised to the power of value. An Int is returned for integer results, and a Float for non-integer or non-finite results.

Example

Notes

  • Equivalent to e^value.