Icon Abs

Unit: Internal

Available In: Client and Server Applications

function Abs(Value: Double): Double

function Abs(Value: Integer): Integer

The Abs function returns the absolute value of the input parameter. The return value is the same type as the input parameter.

Examples

X := Abs(-10);  // X is 10
X := Abs(100);  // X is 100
Image