System.Abs

提供: RAD Studio API Documentation
移動先: 案内検索

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 は整数型または実数型の式です。