Difference between revisions of "Log10"

From SCAR Divi Manual
Jump to: navigation, search
(Description)
Line 1: Line 1:
 
==Definition==
 
==Definition==
 
<source lang="scar" lines="false">
 
<source lang="scar" lines="false">
function Log10(X: Extended): Extended;
+
function Log10(const X: Extended): Extended;
 
</source>
 
</source>
  

Revision as of 19:53, 30 August 2011

Definition

function Log10(const 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