Abs

Abs is a built-in scripting function that gets the absolute value of a specified numeric value.

Function Group Execution Windows Embedded Thin Client
Abs Arithmetic Synchronous Supported Supported Supported

Syntax

Abs(numValue)
numValue
The numeric value from which the function takes the absolute value.

Returned value

The absolute value of the specified numeric value.

Examples

Tag Name Expression
Tag ABS( "-54.9788" ) // Returned value = 54.9788
Tag ABS( numValue ) // Returned value = absolute value of the number in the numValue tag.