# CEIL

The CEIL function rounds a number up to the nearest integer.

## Syntax

`CEIL(number)`

### Parameters

#### number

This is a numeric expression. If the parameter is `null`, the function will also return `null`.

## Examples

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

## Limitations

- the CEIL function does not perform any operation for `long` (including unsigned) and `integer` types. For `double` type, it picks the closest `double` value to the integer, similar to the Math.ceil function in other programming languages.
