Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4568 มุมมอง

Hi all,

I need to set a salary rule for computing PAYE (Tax) based on ranges of salary paid on a weekly basis. I'll explain below.

For our country, the tax for employees is set based on weekly pay as follows

- on $0 to $211 there is no tax

- on $212 tax is $0.08

- on $213 to $576 tax is $0.17 for every $

- on $577 and up tax is $0.27 for every $ (however, I want to cap it at 1000, so $577 to $1000)


How would you put this into a Python Code to be computed? 


Any help would be greatly appreciated.


Mick

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.พ. 19
3031
How Can I write rules for Salary แก้ไขแล้ว
1
ก.ย. 23
13237
0
พ.ค. 23
3629
0
มิ.ย. 19
3398
1
มี.ค. 18
4490