This shows you the differences between two versions of the page.
es:ceil [2016/01/01 22:42] |
es:ceil [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Ceil ===== | ||
+ | |||
+ | ==== Format ==== | ||
+ | |||
+ | **ceil** ( // | ||
+ | |||
+ | ==== Descripción ==== | ||
+ | |||
+ | Devuelve el menor entero que sea mayor o igual a // | ||
+ | |||
+ | ==== Ver también ==== | ||
+ | |||
+ | [[floor|Floor]] | ||
+ | |||
+ | ==== Ejemplo ==== | ||
+ | |||
+ | < | ||
+ | print ceil(9.1) | ||
+ | print ceil(-5.4) | ||
+ | </ | ||
+ | mostrará: | ||
+ | < | ||
+ | 10 | ||
+ | -5 | ||
+ | </ | ||
+ | |||