IMath.Ln

Syntax

Ln(Value: Double): Double;

Parameters

Value. Positive real number.

Description

The Ln method returns a natural logarithm of number.

Comments

To get decimal logarithm, use the IMath.Log10 method.

Example

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

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

After executing the example the console window displays natural logarithm calculation result equal to 4.45434729625351.

See also:

IMath