Applies to TestComplete 12.30, last modified on April 18, 2017

The Abs function returns an absolute value of a number.

Declaration

Abs(Value) Parameters
Value [in] Required Float
Result     Float  

Description

Returns an absolute value of the Value argument.

Parameters

The function has the following parameter:

Value

Specifies the number to be processed.

Return Value

A float value that equals the absolute value of the specified value. If Value is empty, Abs returns 0.

See Also

DelphiScript - List of Supported Routines and Variables