local payNum = 7000
print("工资:"..payNum)
-- 需要交的养老金:
local companyNum = payNum*0.22
local personNum = payNum*0.08
print("养老金:","单位:"..companyNum,"个人:"..personNum,"总计:"..companyNum+personNum)
-- 需要交的公积金:
local companyNum2 = payNum*0.035
local personNum2 = payNum*0.07
print("公积金:","单位:"..companyNum2,"个人:"..personNum2,"总计:"..companyNum2+personNum2)
local allCompanyNum = companyNum + companyNum2
local allPersonNum = personNum + personNum2
print("社保:","单位:"..allCompanyNum,"个人:"..allPersonNum,"总计:"..allCompanyNum+allPersonNum)
计算缴纳的社保
最新推荐文章于 2024-08-29 11:38:58 发布