The ABS function returns the absolute value of the argument.

The type of this function is according to the argument type as follows:

Argument Type | Function Type |
---|---|

Integer | Integer |

Numeric | Numeric |

- Argument-1 must be class numeric.

- The returned value is as follows:
- When the value of argument-1 is zero or positive, (argument-1)
- When the value of argument-1 is negative, (-argument-1)