// round down echo floor(1.5); // prints 1 // round up echo ceil(1.5); // prints 2
echo ceil(0.5); //Prints 1