Difference between revisions of "Abs"
From SCAR Divi Manual
Line 1: | Line 1: | ||
==Definition== | ==Definition== | ||
− | < | + | <source lang="scar" lines="false"> |
+ | function Abs(e: Extended): Extended; | ||
+ | </source> | ||
==Availability== | ==Availability== |
Revision as of 10:47, 26 June 2011
Definition
function Abs(e: Extended): Extended;
Availability
SCAR Divi 3.00 > Current
Description
This function determines the absolute value of the extended 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