EXP function

Syntax

EXP (expression)

Description

Use the EXP function to return the value of "e" raised to the power designated by expression. The value of "e" is approximately 2.71828. expression must evaluate to a numeric value.

If expression is too large or small, a warning message is printed and 0 is returned. If expression evaluates to the null value, null is returned.

The formula used by the EXP function to perform the calculations is

value of EXP function = 2.71828**(expression)

Example

X=5
PRINT EXP(X-1)

This is the program output:

54.5982