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).
New users: please join using this link https://app.qsandbox.com | to view and subscribe use this pricing instead: https://app.qsandbox.com/pricing | We'll migrate paid users shortly
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).