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