Java BigDecimal Value Check isLessOrEqualThanZero(BigDecimal value)

Here you can find the source of isLessOrEqualThanZero(BigDecimal value)

Description

is Less Or Equal Than Zero

License

Apache License

Declaration

public static boolean isLessOrEqualThanZero(BigDecimal value) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.math.BigDecimal;

public class Main {
    public static boolean isLessOrEqualThanZero(BigDecimal value) {
        return value.compareTo(BigDecimal.ZERO) <= 0;
    }/*w  w w  . ja va  2  s .com*/
}

Related

  1. isDoubleOverFlow(final BigDecimal decimal)
  2. isExact(final BigDecimal bd)
  3. isFirstBiggerThanSecond(final BigDecimal first, final BigDecimal second)
  4. isFirstEqualToSecond(final BigDecimal first, final BigDecimal second)
  5. isJavaMathBigDecimal(Object value)
  6. isLessThan(final BigDecimal thiss, final BigDecimal that)
  7. isLessThen(BigDecimal value1, BigDecimal value2)
  8. isLong(BigDecimal inValue)
  9. isLongNumber(BigDecimal minCar)