private function round($number, $precision, int $mode): Utility
    {
        if ($precision < 0) {
            throw new InvalidNumberException('Precision value should be greater or equal to zero');
        }

        $value = round($number, $precision, $mode);

        return new static($value);
    }
private function round($number, $precision, int $mode): Utility
    {
        if ($precision < 0) {
            throw new InvalidNumberException('Precision value should be greater or equal to zero');
        }

        $value = round($number, $precision, $mode);

        return new static($value);
    }
private function round ( $ number , $ precision , int $ mode ) : Utility { if ( $ precision < 0 ) { throw new InvalidNumberException ( 'Precision value should be greater or equal to zero' ) ; } $ value = round ( $ number , $ precision , $ mode ) ; return new static ( $ value ) ; }
Round a number

@param $number
@param int $precision
@param int $mode

@return Utility
@throws InvalidNumberException
@throws NonNumericValueException
Round a number