Log10(Value: Double): Double;
Log10(Value: double): double;
Value. Positive real number.
The Log10 method returns a base-10 logarithm of the number.
Parameter value cannot be empty.
To get natural logarithm, use the IMath.Ln method.
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.
The requirements and result of the Fore.NET example execution match with those in the Fore example.
Imports Prognoz.Platform.Interop.MathFin;
…
Public Shared Sub Main(Params: StartParams);
Var
r: double;
Math: MathClass = New MathClass();
Begin
r := Math.Log10(86);
System.Diagnostics.Debug.WriteLine(r);
End Sub;
See also: