OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:divd3
(Results
1 - 1
of
1
) sorted by null
/libcore/harmony-tests/src/test/java/tests/api/java/math/
BigDecimalTest.java
220
BigDecimal
divd3
= divd1.divide(divd2, BigDecimal.ROUND_UP);
local
221
assertTrue("123459.08/2.335 is not correct",
divd3
.toString().equals(
223
&&
divd3
.scale() == divd1.scale());
226
divd3
.unscaledValue().toString().equals("5287327"));
228
divd3
= divd1.divide(divd2, BigDecimal.ROUND_DOWN);
229
assertTrue("123459.08/123.4 is not correct",
divd3
.toString().equals(
231
&&
divd3
.scale() == 2);
247
BigDecimal
divd3
= divd1.divide(divd2, 3, BigDecimal.ROUND_HALF_UP);
local
248
assertTrue("1233456/0.0023 is not correct",
divd3
.toString().equals(
250
&&
divd3
.scale() == 3)
[
all
...]
Completed in 41 milliseconds