Site Cloner PHP Script
Bargain Hunter PHP Script
Job Hunter PHP Script
Site Login and Access Control PHP Script

PHP Ceiling For Numbers

The ceil() function with php allows you to round a number up to the nearest whole number. It has many benefits, but, you must take into consideration that any decimal points will be removed.

Ceiling Example

$number = ceil(21.5); 
echo $number; // output is 22  
echo ceil(33.67); // output is 34.  
echo "My answer to the math question is ".ceil(100.9); // Output is My answer to the math question is 100.