Java BigDecimal Value Check isUnscaledValueEqualsOriginal(BigDecimal bigDecimal, BigInteger bigInteger)

Here you can find the source of isUnscaledValueEqualsOriginal(BigDecimal bigDecimal, BigInteger bigInteger)

Description

is Unscaled Value Equals Original

License

Apache License

Declaration

private static boolean isUnscaledValueEqualsOriginal(BigDecimal bigDecimal, BigInteger bigInteger) 

Method Source Code


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

import java.math.BigDecimal;
import java.math.BigInteger;

public class Main {

    private static boolean isUnscaledValueEqualsOriginal(BigDecimal bigDecimal, BigInteger bigInteger) {
        return bigDecimal.equals(new BigDecimal(bigInteger));
    }//w  w  w . j  a v a 2  s .co m
}

Related

  1. isPositive(BigDecimal value)
  2. isPrimeNumber(BigDecimal inBd)
  3. isProfitable(BigDecimal ask, BigDecimal bid, BigDecimal fee, BigDecimal minProfit)
  4. isSameValue(final BigDecimal val1, final BigDecimal val2)
  5. isStrictementNegatif(BigDecimal pNombre)
  6. isValidDecimal(BigDecimal bd)
  7. isValidLongitude(BigDecimal value)
  8. isValueEquals(BigDecimal decimal1, BigDecimal decimal2)
  9. isZero(BigDecimal bd)