September 2000
Intermediate to advanced
418 pages
11h 5m
English
| CEIL |
CEIL(n) |
Returns the lowest valued integer that is greater than or equal to the input. If n is already an integer, n will be returned.
SQL> SELECT CEIL(10), CEIL(10.5), CEIL(-10.5)
2 FROM dual;
CEIL(10) CEIL(10.5) CEIL(-10.5)
---------- ---------- -----------
10 11 -10
Notice that for negative numbers, the sign is relevant: -10 is greater than -10.5.
Read now
Unlock full access