This shows you the differences between two versions of the page.
el:ceil [2016/01/01 22:38] |
el:ceil [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Ceil ===== | ||
+ | |||
+ | ==== Format ==== | ||
+ | |||
+ | **ceil** ( // | ||
+ | |||
+ | ==== Description ==== | ||
+ | |||
+ | Returns the lowest integer that is greater than or equal to // | ||
+ | |||
+ | ==== See Also ==== | ||
+ | |||
+ | [[floor|Floor]] | ||
+ | |||
+ | ==== Example ==== | ||
+ | |||
+ | < | ||
+ | print ceil(9.1) | ||
+ | print ceil(-5.4) | ||
+ | </ | ||
+ | will print | ||
+ | < | ||
+ | 10 | ||
+ | -5 | ||
+ | </ | ||
+ | |||