Java BigDecimal Compare greaterThanZero(BigDecimal d)

Here you can find the source of greaterThanZero(BigDecimal d)

Description

greater Than Zero

License

Open Source License

Declaration

public static Boolean greaterThanZero(BigDecimal d) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.math.BigDecimal;

public class Main {
    public static Boolean greaterThanZero(BigDecimal d) {
        return d.compareTo(BigDecimal.ZERO) > 0;
    }/*from  w ww  .j  a va  2s .  c  o m*/
}

Related

  1. compareToZeroOrNull(BigDecimal value)
  2. greaterThan(BigDecimal decimal, double number)
  3. GreaterThan(BigDecimal one, BigDecimal two)
  4. greaterThan(BigDecimal val, double threshold)
  5. GreaterThanOrEqual(BigDecimal one, BigDecimal two)
  6. greaterThanZero(BigDecimal is)
  7. isGreater(BigDecimal a, BigDecimal b)
  8. isGreaterThanOne(@Nonnull final BigDecimal aValue)
  9. lessThan(BigDecimal val1, BigDecimal val2)