Jump to content

Tax Calculator help!


Oras

Recommended Posts

well,

 

walkthrough:

 

get intput of the values youll need

test them in teh tax brackets or whatever ( if or switch statements)

calculate the tax.

validate if its a positive or negative number, in which case youll use another if statement to display the output.

 

thats a rough outline that shoudl get you started

Link to comment
https://forums.phpfreaks.com/topic/100473-tax-calculator-help/#findComment-515189
Share on other sites

what i mean by tax calculator that when you provide your total income and tax paid it will give you if you paid less or more tax than what suppose to be..

 

If only income tax systems were that simple.  Your calculator would need to know what part of your total income was tax-free, etc., etc., etc.

 

You'll need to completely understand the tax system in any jurisdiction to which you to apply your calculator.  Tax accountants make a career out of that, not just a calculator.

Link to comment
https://forums.phpfreaks.com/topic/100473-tax-calculator-help/#findComment-515281
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.