- 4.62.2.1 -
Standard Units
System Unit
System Unit Procedures and FunctionsAbs function
Targets: MS-DOS, Win32
System Unit
Returns the absolute value of the argument.
Declaration
function Abs(X);
Remarks:
Use Abs to determine the absolute value of an integer or real
type argument.
Example:
Var
x : Integer;
r : Single;
i : Int64;
Begin
x := Abs(-50); // 50
r := Abs(-60.34); // 60.34
i := Abs(761236655123891); // 761236655123891
End.
|
|
|
System Unit Procedures and Functions |
Table of Content |
Addr function |
- 4.62.2.1 -