System.Abs
Delphi
function Abs(X: <Real Int64 or Integer>): Real; overload;
function Abs(X: <Real Int64 or Integer>): Int64; overload;
function Abs(X: <Real Int64 or Integer>): Integer; overload;
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| function | public | System.pas | System | System |
説明
絶対値を返します。
Abs 関数は引数 X の絶対値を返します。
X は整数型または実数型の式です。