Searched refs:divd3 (Results 1 – 1 of 1) sorted by relevance
220 BigDecimal divd3 = divd1.divide(divd2, BigDecimal.ROUND_UP); in test_divideLjava_math_BigDecimalI() local221 assertTrue("123459.08/2.335 is not correct", divd3.toString().equals( in test_divideLjava_math_BigDecimalI()223 && divd3.scale() == divd1.scale()); in test_divideLjava_math_BigDecimalI()226 divd3.unscaledValue().toString().equals("5287327")); in test_divideLjava_math_BigDecimalI()228 divd3 = divd1.divide(divd2, BigDecimal.ROUND_DOWN); in test_divideLjava_math_BigDecimalI()229 assertTrue("123459.08/123.4 is not correct", divd3.toString().equals( in test_divideLjava_math_BigDecimalI()231 && divd3.scale() == 2); in test_divideLjava_math_BigDecimalI()247 BigDecimal divd3 = divd1.divide(divd2, 3, BigDecimal.ROUND_HALF_UP); in test_divideLjava_math_BigDecimalII() local248 assertTrue("1233456/0.0023 is not correct", divd3.toString().equals( in test_divideLjava_math_BigDecimalII()250 && divd3.scale() == 3); in test_divideLjava_math_BigDecimalII()[all …]