IMath.Log10

Syntax

Log10(Value: Double): Double;

Parameters

Value. Positive real number.

Description

The Log10 method returns a base-10 logarithm of the number.

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.Log10(86);
    Debug.WriteLine(r);
End Sub UserProc;

After executing the example the console window displays the result of decimal logarithm calculation equal to 1.93449845124357.

See also:

IMath