PHP function ceil()
Round fractions up
Availability in PHP 4.0
Round fractions up
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$value |
float |
not | The value to round |
Return values
float
value rounded up to the next highest integer. The return value of ceil is still of type float as the value range of float is usually bigger than that of integer.
Other resources
Loading comments...