JavaScript Reference/Javascript Methods/exp

Материал из Web эксперт
Перейти к: навигация, поиск

"exp()" Example

    
<html>
<body>
<button onclick="alert(Math.exp(1));">EXP</button>
</body>
</html>



"exp()" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |Math                                                          |
+----------------+--------------------------------------------------------------+



"exp()" Syntax, Parameters and Note

Note:
Returns the base of natural logarithm raised to the power of the specified number.
    
Syntax:
    
Math.exp(param1)
Parameters:
    param1   Required; the exponent to use.