Exp (function)

Syntax

Exp(value)

Description

Returns the value of e raised to the power of value.

Comments

The value parameter is a Double within the following range:

  0 <= value <= 709.782712893.

A runtime error is generated if value is out of the range specified above.

The value of e is 2.71828.

Example

This example assigns a to e raised to the 12.4 power and displays it in a dialog box.

Sub Main()
  a# = Exp(12.4)
  MsgBox "e to the 12.4 power is: " & a#
End Sub

See Also

Log (function).

More information

E