# decimal.ceil · Rell standard library · Chromia Docs (concept)

> pure function ceil(): decimal Round this decimal away from zero, to the next whole number. Examples: (-0.4).ceil() returns -1 (-1.99999).ceil() returns -2 

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/decimal/ceil/

FUNCTION

# decimal.ceil

```signature
pure function ceil(): decimal
```

Round this decimal away from zero, to the next whole number.

Examples:

* `(-0.4).ceil()` returns `-1`
* `(-1.99999).ceil()` returns `-2`
* `(1.99999).ceil()` returns `2`
* `(1.00000000000000000001).ceil()` returns `2`

Since 0.9.1

[View this page on docs.chromia.com](https://docs.chromia.com/pages/rell-stdlib/-rell%20-system%20-library/%5Broot%5D/decimal/ceil.html)Generated API reference, mirrored from the live docs
