# CEIL

Rounds a number up to the nearest integer.

## Syntax

`CEIL(number)`

### Parameters

#### `number`

Numeric expression. If `null`, the function returns `null`.

## Examples

Rounding up a decimal number

```esql
ROW a=1.8
| EVAL a = CEIL(a)
```

This example rounds the value `1.8` up to the nearest integer, resulting in `2`.

## Limitations

- This function is a no-op for `long` (including unsigned) and `integer` types. For `double`, it selects the closest `double` value to the integer, similar to `Math.ceil`.
