VBScript Exp Function

Definition and Usage

The Exp function is the power of e (the base of the natural logarithm).

Note:The value cannot exceed 709.782712893. The value of the constant e is about 2.718282.

Tip:See Log function. The Exp function is the inverse operation of the Log function and is sometimes referred to as the inverse logarithmic form.

Syntax

Cos(number)
Parameter Description
number Required. A valid numeric expression.

Instance

Example 1

document.write(Exp(6.7))

Output:

812.405825167543

Example 2

document.write(Exp(-6.7))

Output:

1.23091190267348E-03