Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
THE WORLD'S LARGEST WEB DEVELOPER SITE

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