Abs
- Last UpdatedAug 14, 2026
- 1 minute read
Abs returns the absolute value of a specified numeric value.
|
Group |
Sync / Async Exec |
String Exp? |
Windows Support |
Windows Embedded Support |
IoT View Support |
Thin Client Support |
Mobile Access Support |
|
Arithmetic |
Sync |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Syntax
Abs(numValue)
numValue
The numeric value argument on which the function operation will be performed.
Return value
The absolute value of the specified numeric value.
Examples
Get the absolute value of -54.9788:
Abs(-54.9788)
Get the absolute value of the numeric value stored in a project tag:
Abs(MyReal)