PHPmathround

Rounds a float.

Syntax

round(float $num, int $precision = 0): float