VBScript » Functions » Exp

Version: 1.0

Syntax:
Exp(Number)

The Exp function raises e to the power of a number.

There is a companion function Log for the reverse operation.

Examples

Code:
<% =Exp(3.269) %>
Output:
26.2850411552082
Language(s): VBScript
Code:
<% =Exp(-3.269) %>
Output:
0.038044452511799
Explanation:

You can also use a negative number.

Language(s): VBScript

See Also: