Returns the smallest integer greater than or equal to a numeric value expression.
Category: | Truncation |
Returned data type: | DECIMAL, DOUBLE, NUMERIC |
specifies any valid expression that evaluates to a numeric value.
Data type | DECIMAL, DOUBLE, NUMERIC |
See | <sql-expression> |
FedSQL Expressions |
Statements
|
Results
|
---|---|
select ceil(-2.4); |
-2 |
select ceil(1+1.e-11); |
2 |
select ceil(-1+1.e-11); |
0 |
select ceil(1+1.e-13); |
1 |