# CEIL

将给定输入向上舍入到最接近的整数。

这是 [`CEILING`](https://help.qlik.com/zh-CN/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/Lakehouse/TransformationFunctions/mathematical/ceiling.htm) 函数的别名。

## 语法

```
CEIL(X)
```

## 参数

#### X

类型：`numeric`

数值。

## 返回

类型：与输入相同

`X` 向上舍入到最接近的整数。

***

## 示例

| X | 输出 |
| --- | --- |
| 0.13523523 | 1.0 |
| -1.1 | -1.0 |
| 1 | 1 |
| 1 + 1 | 2 |
| 0 | 0 |
| -1 | -1 |
| -1 - 5 | -6 |