how to add index to ceil in php code example Example: php round up //round up to nearest integer echo(ceil(0.60) . "<br>"); //result 1