Skip to main content

CEIL

Rounds the number up.

Syntax

CEIL( <x> )

Aliases

Examples

SELECT CEILING(-1.23), CEIL(-1.23);

┌────────────────────────────────────┐
│ ceiling((- 1.23)) │ ceil((- 1.23))
├───────────────────┼────────────────┤
-1-1
└────────────────────────────────────┘
Did this page help you?
Yes
No
Explore Databend Cloud for FREE
Low-cost
Fast Analytics
Easy Data Ingestion
Elastic Scaling
Try it today