Exp

Description

Raises e to the specified power.

Syntax

Exp ( n )

Argument

Description

n

The power to which you want to raise e (2.71828)


Return value

Double.

Returns e raised to the power n. If n is null, Exp returns null.

Inverse of Exp

The inverse of the Exp function is the Log function.

Examples

This statement returns 7.38905609893065.

Exp(2)

These statements convert a natural logarithm (base e) back to a regular number. When executed, Exp sets value to 200:

double value, x = log(200)
value = Exp(x)

See also

Log

LogTen

Exp method for DataWindows in the section called “Exp” in DataWindow Reference.