[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Abs Returns the Absolute Value of a Number
Abs(Val : Real) : Real;
Abs(Val : Integer) : Integer;
Returns the absolute value of Val. That is, if Val is greater than or
equal to 0, Abs returns Val; otherwise, Abs returns -Val.
Val An integer or real value (constant, variable, function
call, or expression).
Limits: none
-------------------------------- Example ---------------------------------
I := Abs(-10); { I = 10 }
X := Abs(4.21) { X = 4.21 }
See Also:
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson