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 Mobile Access
Abs Arithmetic Synchronous Supported Supported Supported Supported

Syntax

Web Studio Help s2fr function arithmetic abs.xml d63263e78 Abs
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.

Abs