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