The function ceil rounds a decimal number to the next whole number. Here are some examples:
echo ceil (3.2); / / 4 echo ceil (9999) / / 10 echo ceil (-9999); / / -9
The ceil function produces the opposite result of the function floor .
| |
Linux (Course)
Complete guide to open-source system. From 49 €. |
| |
MySQL (Course)
Management of open-source database. From 39 €. |
| |
PHP (Course)
Full course for creating dynamic Web sites. From 49 €. |