public static function nd($numerator, $denominator) : BigRational
    {
        $numerator   = BigInteger::of($numerator);
        $denominator = BigInteger::of($denominator);

        return new BigRational($numerator, $denominator, true);
    }
public static function nd($numerator, $denominator) : BigRational
    {
        $numerator   = BigInteger::of($numerator);
        $denominator = BigInteger::of($denominator);

        return new BigRational($numerator, $denominator, true);
    }
public static function nd ( $ numerator , $ denominator ) : BigRational { $ numerator = BigInteger :: of ( $ numerator ) ; $ denominator = BigInteger :: of ( $ denominator ) ; return new BigRational ( $ numerator , $ denominator , true ) ; }
Creates a BigRational out of a numerator and a denominator.

If the denominator is negative, the signs of both the numerator and the denominator
will be inverted to ensure that the denominator is always positive.

@param BigNumber|number|string $numerator   The numerator. Must be convertible to a BigInteger.
@param BigNumber|number|string $denominator The denominator. Must be convertible to a BigInteger.

@return BigRational

@throws NumberFormatException      If an argument does not represent a valid number.
@throws RoundingNecessaryException If an argument represents a non-integer number.
@throws DivisionByZeroException    If the denominator is zero.
Creates a BigRational out of a numerator and a denominator .