This Method calculates the exponent of the value. Returns enumber, where enumber is the argument, and e is Euler's constant, the base of the natural logarithms. For matrices, the function is evaluated element wise.
Syntax:-
Math.exp(number)
Number is any numeric expression.
Here is an example for this method:-
var value = Math.exp(1);
document.write("First Test Value : " + value );
output:-
First Test Value : 2.718281828459045.
0 Comment(s)