What are some common functions in PHP that can be used to manipulate numbers?

To manipulate numbers in PHP, there are several common functions that can be used. Some of these functions include `abs()` to get the absolute value of a number, `round()` to round a number to the nearest integer, `ceil()` to round a number up to the nearest integer, `floor()` to round a number down to the nearest integer, and `rand()` to generate a random number within a specified range.

// Example of using common functions to manipulate numbers in PHP

$number = -5.678;

// Get the absolute value of a number
$absValue = abs($number);
echo "Absolute value: " . $absValue . "<br>";

// Round a number to the nearest integer
$rounded = round($number);
echo "Rounded value: " . $rounded . "<br>";

// Round a number up to the nearest integer
$ceiled = ceil($number);
echo "Ceiled value: " . $ceiled . "<br>";

// Round a number down to the nearest integer
$floored = floor($number);
echo "Floored value: " . $floored . "<br>";

// Generate a random number within a specified range
$randomNumber = rand(1, 10);
echo "Random number between 1 and 10: " . $randomNumber . "<br>";