System.Abs
Delphi
function Abs(X: Real): Real; overload;
function Abs(X: Int64): Int64; overload;
function Abs(X: Integer): Integer; overload;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.pas | System | System |
Description
Returns an absolute value.
Abs returns the absolute value of the argument, X.
X is an integer-type or real-type expression.
See Also