Exp
EXP(number)
Description
EXP returns a double-precision value equal to enumber. The required parameter, number, is any numeric expression. e is the base of natural logarithms, and is approximately equal to 2.718282.
Example
REM EXP Example 'EXP raises a number to the eth power PRINT "EXP(0) = " & EXP(0) PRINT "e = " & EXP(1)
Output
EXP(0) = 1 e = 2.718282
Related Items