Searched refs:stripTrailingZeros (Results 1 – 4 of 4) sorted by relevance
415 BigDecimal result = bdNumber.stripTrailingZeros(); in test_stripTrailingZerosZeros()420 result = bdNumber.stripTrailingZeros(); in test_stripTrailingZerosZeros()425 result = bdNumber.stripTrailingZeros(); in test_stripTrailingZerosZeros()435 BigDecimal bdResult = bdNumber.stripTrailingZeros(); in test_stripTrailingZeros()443 bdResult = bdNumber.stripTrailingZeros(); in test_stripTrailingZeros()
906 ((sixhundredtest.stripTrailingZeros()).scale() == -2) in test_stripTrailingZero()912 ((notrailingzerotest.stripTrailingZeros()).scale() == 0) in test_stripTrailingZero()917 zerotest.stripTrailingZeros().scale()); in test_stripTrailingZero()
2031 public BigDecimal stripTrailingZeros() { in stripTrailingZeros() method in BigDecimal
3036 … return fraction.compareTo(BigDecimal.ZERO) == 0 ? BigDecimal.ZERO : fraction.stripTrailingZeros(); in convertToFraction()