Home  >  Article  >  Web Front-end  >  JS数学函数Exp使用说明_基础知识

JS数学函数Exp使用说明_基础知识

WBOY
WBOYOriginal
2016-05-16 17:51:061476browse

计算ex摘要

Math.exp(x)
参考
x
数值或表达式,被用作指数。

返回值

ex,即e的x次幂。这里e代表自然对数的底数,其近似为2.71828。

exp()语法如下:

复制代码 代码如下:
Math.exp(x) ;

Math.exp()范例:
复制代码 代码如下:


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn