HALF_UP), actual); //Hamcrest matcher assertThat(actual, is(equalTo(BigDecimal.valueOf(1.8).setScale(2, RoundingMode.HALF_UP)))); }. Java.
確定! 回上一頁