Difference between revisions of "MinE"

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

Latest revision as of 23:58, 27 June 2011

Definition

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

Availability

SCAR Divi 3.00 > Current

Description

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

Example

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

Output:

3,1
3,1

See Also