IMath.Exp

Syntax

Exp(Value: Double): Double;

Parameters

Value. Power exponent used to raise the Euler number.

Description

The Exp method returns the Euler number raised to the specified power.

Comments

Parameter value cannot be empty.

To get natural logarithm, use the IMath.Ln method.

Example

To execute the example, add a link to the MathFin system assembly.

Sub UserProc;
Var
    r: Double;
Begin
    r := Math.Exp(2);
    Debug.WriteLine(r);
End Sub UserProc;

After executing the example the console window displays result of raising the Euler number to the specified power equal to 7.38905609893065.

See also:

IMath