Method compareTo(BigDecimal val)
Return type: int
Member of: java.math.BigDecimal
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 return getSourceBalance().compareTo(Env.ZERO) != -1;
2 return (isGreater(pLeft.compareTo(pRight)) || isEqual(pLeft.compareTo(pRight)));
3 res = 0 == f1.compareTo(f2);
4 if ( currValue == null || value.compareTo(currValue) != 0 ) {
5 if (Amt.compareTo(Env.ZERO) < 0)
6 if ((null != myFraction) && (0 != ZERO.compareTo(myFraction))) {
7 if (retVal && tmpArray1[i][j].compareTo(tmpArray2[i][j]) != 0) {
8 if (((java.math.BigDecimal)element).compareTo (bdMaxDoubleValue) == 1 ||
9 if (sum.abs().compareTo(largest) == 1) {
10 boolean bit = ((BigDecimal) o).compareTo(BIGDECIMAL_0)
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.