Difference between revisions of "Log10"

From SCAR Divi Manual
Jump to: navigation, search
(Example)
(Description)
Line 8: Line 8:
  
 
==Description==
 
==Description==
Returns the 10th [http://en.wikipedia.org/wiki/Logarithm logarithm] of a value given by '''X'''.
+
Returns the [http://en.wikipedia.org/wiki/Logarithm logarithm] of a value given by '''X''' with base 10.
  
 
==Example==
 
==Example==

Revision as of 00:10, 3 July 2011

Definition

function Log10(X: Extended): Extended;

Availability

SCAR Divi 3.00 > Current

Description

Returns the logarithm of a value given by X with base 10.

Example

begin
  WriteLn(Log10(10));
  WriteLn(Log10(5));
  WriteLn(Log10(2));
end.

Output:

1
0,698970004336019
0,301029995663981

See Also