Difference between revisions of "Log10"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function Log10(X: Extended): Extended; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Returns the 10th [h...")
 
(Example)
Line 15: Line 15:
 
   WriteLn(Log10(10));
 
   WriteLn(Log10(10));
 
   WriteLn(Log10(5));
 
   WriteLn(Log10(5));
 +
  WriteLn(Log10(2));
 
end.
 
end.
 
</source>
 
</source>
Line 21: Line 22:
 
  1
 
  1
 
  0,698970004336019
 
  0,698970004336019
 +
0,301029995663981
  
 
==See Also==
 
==See Also==

Revision as of 00:08, 3 July 2011

Definition

function Log10(X: Extended): Extended;

Availability

SCAR Divi 3.00 > Current

Description

Returns the 10th logarithm of a value given by X.

Example

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

Output:

1
0,698970004336019
0,301029995663981

See Also