税率计算问题

master
xxssyyyyssxx 2021-12-01 16:49:43 +08:00
parent 3de9c5afdb
commit 3330b6ac3b
1 changed files with 1 additions and 1 deletions

View File

@ -124,6 +124,6 @@ public class ProjectBudgetCostDetail {
}
//不含税总金额=含税总金额/1+税率)
return totalTaxInclude.divide(taxRate.divide(new BigDecimal(100), 2, BigDecimal.ROUND_HALF_UP), 2, BigDecimal.ROUND_HALF_UP);
return totalTaxInclude.divide(taxRate.divide(new BigDecimal(100), 2, BigDecimal.ROUND_HALF_UP).add(new BigDecimal(1)), 2, BigDecimal.ROUND_HALF_UP);
}
}