Tutorials References Menu

VBScript Exp Function

❮ Complete VBScript Reference

The Exp function returns e raised to a power.

Note: The value of number cannot exceed 709.782712893.

Tip: Also look at the Log function.

Syntax

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

Example

Example

<%

response.write(Exp(6.7) & "<br />")
response.write(Exp(-6.7))

%>

The output of the code above will be:

812.405825167543
1.23091190267348E-03
Show Example »

❮ Complete VBScript Reference