How do I calculate the resident percentage I have to pay?
Are you trying to determine residency or a foreign tax or what are you trying to do?