What functions in PHP can be used to round decimal values to the nearest whole number?

To round decimal values to the nearest whole number in PHP, you can use the round() function. This function takes two parameters - the first being the decimal value you want to round, and the second being the number of decimal places you want to round to (default is 0 for rounding to the nearest whole number). Here is a PHP code snippet that demonstrates how to round a decimal value to the nearest whole number using the round() function:

$decimalValue = 3.14;
$roundedValue = round($decimalValue);
echo $roundedValue; // Output: 3