Returns the absolute value of a numeric value expression.
Category: | Mathematical |
Returned data type: | The same data type as the expression |
specifies any valid SQL expression that evaluates to a numeric value.
Type | BIGINT, DOUBLE, FLOAT, INTEGER, REAL, SMALLINT, TINYINT |
See | <sql-expression> |
FedSQL Expressions |
Statements
|
Results
|
---|---|
select abs(-345); |
345 |
select abs((3 * 50) / 5) |
30 |