IAbs

From SCAR Divi Manual
Revision as of 10:40, 28 June 2011 by Freddy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function IAbs(Number: Integer): Integer;

Availability

SCAR Divi 3.00 > Current

Description

This function determines the absolute value of the integer value Number which is passed as an argument to the function.

Example

begin
  WriteLn(IAbs(1));
  WriteLn(IAbs(-1));
end.

Output:

1
1

See Also