Link Search Menu Expand Document

Math.exp methods

Explanation Find the power of e (the base of the natural logarithm) with x as the exponent
Call format var v = Math.exp (x)
Return value Returns the value of e raised to the power of x as a Number type.
Arguments Number x A value that specifies a power
Exception None
Example of use
var v = Math.exp (2);
print (v, "¥ n");
Related item log method