How can I compare if BigDecimal value is greater than zero?
BigDecimal
Possible better way:
if (value.signum() > 0)
signum returns -1, 0, or 1 as the value of this BigDecimal is negative, zero, or positive.
signum