CitectVBA Programming Reference > CitectVBA Function Reference > Math/Trigonometry Functions > Exp

Exp

Calculates the exponential of a number. The exponential is the base of the natural logarithm e raised to a power (e^Num). The Exp function complements the Log function and is sometimes referred to as the antilogarithm.

Note: The value of the constant eis approximately 2.71828.

Syntax

Exp(Num)

Num:

An Integer or expression representing a valid numeric value.

Return Value

Returns the value equivalent to the base of the natural logarithm (e) raised to the power of the number (Num) provided in the argument.

Related Functions

Log

Example

Variable=Exp(1); 		! Sets Variable to 2.7182...