Descripción
int
ceil
( float number)
Devuelve
el
valor
entero
superior
más
cercano
a
number
.
El
uso
de
ceil(
)
con
enteros
es
una
perdida
de
tiempo
absoluta
.
NOTA
:
PHP
/
FI
2'
s
ceil(
)
devuelve
un
float
.
Use
:
$new
=
(
double)ceil($number)
;
para
tener
el
comportamiento
antiguo
.
Vea
también
floor(
)
y
round(
)
.