ABS
Returns the absolute value of a number.
Syntax
ABS(<expr>)
Parameter | Type | Description |
---|---|---|
expr | Integer | The number of which to return the absolute value. |
ABS(<expr>)
Parameter | Type | Description |
---|---|---|
expr | Number | The number of which to return the absolute value. |
Return values
Integer
Examples
ABS(orders.discount_amount)