Exp

 

Exp(num)

 

Returns the base of the natural log raised to a power (e ^ num).

 

The value of  the constant e is approximately 2.71828.

 

Related Topics: Log

 

Example:

 

Sub ExpExample ()

   ' Exp(x) is e ^x so Exp(1) is e ^1 or e.

   Dim Msg, ValueOfE    ' Declare variables.

   ValueOfE = Exp(1)    ' Calculate value of e.

   Msg = "The value of e is " & ValueOfE

   MsgBox Msg ' Display message.

End Sub