This commit is contained in:
wucongxing 2023-11-06 09:38:41 +08:00
parent f9db6fb1ff
commit 58149a8c08

View File

@ -13,7 +13,9 @@ func ComputeIndividualIncomeTax(income float64) float64 {
} }
// 实际纳税金额 // 实际纳税金额
income = income * 0.8 if income > 4000 {
income = income * 0.8
}
// 税率、速算扣除数 // 税率、速算扣除数
var taxRate, quickDeduction float64 var taxRate, quickDeduction float64