Java BigDecimal Value Check isNegative(BigDecimal inValue)

Here you can find the source of isNegative(BigDecimal inValue)

Description

is Negative

License

Open Source License

Declaration

public static boolean isNegative(BigDecimal inValue) 

Method Source Code

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

import java.math.BigDecimal;

public class Main {
    public static boolean isNegative(BigDecimal inValue) {

        return inValue != null && BigDecimal.ZERO.compareTo(inValue) > 0;
    }//from   w  w w . ja v a 2s  .  co  m
}

Related

  1. isLongNumber(BigDecimal minCar)
  2. isLowerThanOne(@Nonnull final BigDecimal aValue)
  3. isMaximumDecimalValue(BigDecimal maxValue)
  4. isMoreThanZero(BigDecimal decimal)
  5. isNegative(BigDecimal amount)
  6. isNotNullOrZero(final BigDecimal number)
  7. isNotSameAbsValue(final BigDecimal v1, final BigDecimal v2)
  8. isNotZero(final BigDecimal value)
  9. isNotZeroPositive(BigDecimal value)