Exp (function)

<< Click to Display Table of Contents >>

Exp (function)

Exp(Number)

Calculates the exponential function (e ^ Number).

The value of the constant e (Euler's number) is approximately 2.71828.

See also: Log

Example:

' Exp(x)=e^x, therefore Exp(1)=e

Sub ExpExample

 Dim Msg, ValueOfE

 ValueOfE = Exp(1)

 Msg = "The value of e is " & ValueOfE

 MsgBox Msg

End Sub