JavaScript Reference/Javascript Methods/exp — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 11:22, 26 мая 2010
"exp()" Example
<source lang="javascript">
<html> <body> <button onclick="alert(Math.exp(1));">EXP</button> </body> </html>
</source>
"exp()" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |Math | +----------------+--------------------------------------------------------------+
</source>
"exp()" Syntax, Parameters and Note
<source lang="javascript">
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. </source>