Show: Delphi C++
Display Preferences

System.Abs

From RAD Studio API Documentation
Jump to: navigation, search

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;

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


Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance