Difference between revisions of "Abs"

From SCAR Divi Manual
Jump to: navigation, search
Line 21: Line 21:
 
  1,1
 
  1,1
 
  1,1
 
  1,1
 
==See Also==
 
*[[Inversus]]
 
  
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Math Functions]]
 
[[Category:Math Functions]]

Revision as of 22:39, 27 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