Abs

From SCAR Divi Manual
Revision as of 22:51, 2 July 2011 by Freddy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function Abs(e: Extended): Extended;

Availability

SCAR Divi 3.00 > Current

Description

Returns the absolute value of the extended floating point value e which is passed as an argument to the function.

Example

begin
  WriteLn(Abs(1.1));
  WriteLn(Abs(-1.1));
end.

Output:

1,1
1,1

See Also