Ln(Value: Double): Double;
Value. Positive real number.
The Ln method returns a natural logarithm of number.
To get decimal logarithm, use the IMath.Log10 method.
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: