This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| functions:ceil [2017/04/15 14:50] – korshun | functions:ceil [2019/08/26 18:03] (current) – removed korshun | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== ceil ====== | ||
| - | {{tag> | ||
| - | '' | ||
| - | |||
| - | ===== Description ===== | ||
| - | Rounds x up and returns the result as a fixed-point number. | ||
| - | |||
| - | See the article on [[: | ||
| - | |||
| - | ===== Examples ===== | ||
| - | < | ||
| - | ceil(2.3) -> 3.0 | ||
| - | ceil(3.8) -> 4.0 | ||
| - | ceil(5.5) -> 5.0 | ||
| - | ceil(-2.3) -> -2.0 | ||
| - | ceil(-3.8) -> -3.0 | ||
| - | ceil(-5.5) -> -5.0 | ||
| - | </ | ||