Home > lang > exp 
 en fr de es it nl pl pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
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

See also

Logarithms & Exponentials Functions