|
-
Dec 4th, 2000, 03:20 AM
#1
Thread Starter
Addicted Member
Tax Calculations?
I'm writing a program for school and come across having to make some calculations. I have a textbox asking for the users gross income then from that I have to subtract Federal income taxes, Social Security, Medicare, Self employment taxes(if any), and State income tax(North Carolina). The output will be from my picBox, but I don't know how to calculate any of these. I HAVE NO IDEA ON WHAT THE TAXES ARE.
-
Dec 4th, 2000, 04:39 AM
#2
Fanatic Member
Hi,
Maybe you should call the tax company. 
Cheers
Ray
-
Dec 4th, 2000, 05:10 AM
#3
Fanatic Member
You could set up a public module with some CONST values that you use as dummy values for the tax rates and use those. Once you know the values, set them accordingly. This is a bit of a fudge though.
The best way would be to create a class module that simply returns the tax rates. You could then create Property Let/Get routines to allow the user to update rates when necessary. You could then also do basic error validation. This encapsulation should get you some programmer brownie points, if not extra marks!
Cheers,
P
Not nearly so tired now...
Haven't been around much so be gentle...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|