> For the complete documentation index, see [llms.txt](https://docs.settlers-united.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.settlers-united.com/s4-lua-api-de/su-library-functions/su.math/su.math.ceil.md).

# SU.Math.ceil

## SU.Math.ceil(value)

Rundet eine Zahl auf die nächstgrößere ganze Zahl (Aufrunden) auf.

#### Parameter

* `value`: `number` – Die zu rundende Zahl

#### Rückgabewert

* `number` – Die kleinste ganze Zahl, die größer oder gleich `value` ist

#### Beispiel

```lua
local result = SU.Math.ceil(4.2)    -- liefert 5
```
