首页 > lang > exp 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh eo
前一个  下一个  编辑  重命名  撤销  搜索  管理  
文档  
警告! 该页面未翻译。  参见英文版 
Exp
Value = Exp ( Number AS Float ) AS Float

Computes value of e to the power of number.The number can be zero, negative or positive. The number must be less than 709.779999 to avoid overflow error.

The Exp function complements the action of Log Function. Thus it can be used to compute the antilogarithm of a number.

Example

PRINT Exp(20)

4.1651954098E+8

DIM i AS INTEGER
FOR i = -2 TO 2
PRINT i, Exp(i)
NEXT



-2    0.135335283237
-1    0.367879441171
0     1
1     2.718281828459
2     7.389056098931

参见

Logarithms & Exponentials Functions