java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result。
divide 出現無線循環小數會報錯。
divide(dtoItem.getAmountActuallyExecuted(), 10, RoundingMode.UP)
java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result。
divide 出現無線循環小數會報錯。
divide(dtoItem.getAmountActuallyExecuted(), 10, RoundingMode.UP)
引入依賴 <dependency> <groupId>com.itextpdf</groupId> <artifactId>itextpdf</artifactId>