Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
feb. 19
2887
1
sept. 23
13033
0
mai 23
3423
0
iun. 19
3267
1
mar. 18
4336