src/Number/Rational.php
private function multiplyInt(int $int): Rational
    {
        $w = $this->whole * $int;
        $n = $this->numerator * $int;
        return new Rational($w, $n, $this->denominator);
    }
private function multiplyInt(int $int): Rational
    {
        $w = $this->whole * $int;
        $n = $this->numerator * $int;
        return new Rational($w, $n, $this->denominator);
    }
private function multiplyInt ( int $ int ) : Rational { $ w = $ this -> whole * $ int ; $ n = $ this -> numerator * $ int ; return new Rational ( $ w , $ n , $ this -> denominator ) ; }
Multiply an integer

@param int $int

@return Rational
Multiply an integer