ABS
The ABS function returns the input's absolute value.
Input
Number of Connections: 1
Input | Data Type | Description |
Input1 | Integer,Double,Decimal | The number to be returned as an absolute value. |
Output
Output | Data Type | Description |
Output1 | Integer,Double,Decimal | The input's absolute value. |
Topic
- If the input value is an Integer, an Integer is returned.
If the input value is a Double, a Double is returned.
All other values are returned as a Decimal.
- If the output result is a Decimal, the output's scale will be to the same decimal place as the input value.
Example
| Property | Output |
Input 1 | -123 | | | 123 |