BigDecimal to another, using unlimited precision. The same as {@link #compareTo(BigDecimal,MathContext)}, where the BigDecimal is rhs, and the context is new MathContext(0, MathContext.PLAIN).
@param rhs The BigDecimal for the right hand side ofthe comparison.
@return An int whose value is -1, 0, or 1 asthis is numerically less than, equal to, or greater than rhs.
@see #compareTo(Object)
@stable ICU 2.0
| |