Description |
Returns the Logarithm to base 10 of Value.
|
| Notes | Static methods are not methods of an object - they are simply class functions or procedures available at any time.
|
|
Microsoft MSDN Links |
System
System.Math
|
|
|
A simple example |
program Project1;
{$APPTYPE CONSOLE}
var
result : Double;
begin
// Log of 1000 = 3 (3 ** 10 = 1000)
result := System.Math.Log10(1000);
Console.WriteLine('Log(1000) = {0}', result.ToString);
Console.ReadLine;
end.
| Show full unit code | Log(1000) = 3
|
|
|
|