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 |
The absolute value of the specified numeric value.
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. |