Method signum()
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
if (posInd && bigDecimal.signum() == 1)
2
if ( minValue.signum() == -1 ) {
3
} else if (fraction.signum() < 0) {
4
if (amount != null && amount.signum() < 0)
5
return (bbd.signum() == 0) ? null
6
} else if (fraction.signum() < 0) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.