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