Difference between revisions of "MaxE"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function MaxE(a, b: Extended): Extended; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Returns the large...")
 
(Description)
 
Line 8: Line 8:
  
 
==Description==
 
==Description==
Returns the largest of 2 given [[extended]] values '''a''' and '''b'''.
+
Returns the largest of 2 given [[extended]] floating point values '''a''' and '''b'''.
  
 
==Example==
 
==Example==

Latest revision as of 23:57, 27 June 2011

Definition

function MaxE(a, b: Extended): Extended;

Availability

SCAR Divi 3.00 > Current

Description

Returns the largest of 2 given extended floating point values a and b.

Example

begin
  WriteLn(MaxE(3.1, 4.1));
  WriteLn(MaxE(4.1, 3.1));
end.

Output:

4,1
4,1

See Also