What function can be used to round a number in PHP?

To round a number in PHP, you can use the built-in function `round()`. This function takes a number as its first argument and an optional precision as its second argument to specify the number of decimal places to round to. If the precision is omitted, `round()` will round the number to the nearest integer.

$number = 10.567;
$roundedNumber = round($number, 2);
echo $roundedNumber; // Output: 10.57