Home  |  Delphi .net Home  |  System.Math  |  Log10 Method
  
Log10  
Method  
Gives the Logarithm of a number in base 10
Math Class
System NameSpace
CF1.  Function Log10 ( Value : Double ) : Double; Static;
CF : Methods with this mark are Compact Framework Compatible
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
 Author links

 Buy Website Traffic at
 Buywebsitetrafficexperts.com

 Buy Proxies at
 Buyproxies.io
 
 
 
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.
   Log(1000) = 3
 
 
Delphi Programming Neil Moffatt 2002 - 2017. All rights reserved.  |  Contact the author