Rational with another object for order.
@param o The object to compare to.
@return Returns a negative, zero, or a positive integer if the numericvalue of this Rational is less than, equal to, or greater than the numeric value of the other object.
@throws ClassCastException if the other object is not a {@link Number}.
| |