round
round(int|float $num, int $precision = 0, int $mode = PHP_ROUND_HALF_UP): float
Returns the rounded value of the number to specified precision (number of digits after the decimal point). The precision can also be negative or zero (default).
Confused by DNS? Check out DNS Basics Explained eBook — a practical guide for website owners and freelancers.
round(int|float $num, int $precision = 0, int $mode = PHP_ROUND_HALF_UP): float
Returns the rounded value of the number to specified precision (number of digits after the decimal point). The precision can also be negative or zero (default).