Results 1 to 3 of 3

Thread: Calculations?

  1. #1

    Thread Starter
    Addicted Member machine_wars's Avatar
    Join Date
    Dec 2000
    Location
    NC
    Posts
    147

    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.

  2. #2
    Fanatic Member
    Join Date
    Nov 2000
    Location
    Worldwide in the Sun
    Posts
    566
    Hi,

    Maybe you should call the tax company.

    Cheers
    Ray
    Ray

  3. #3
    Fanatic Member
    Join Date
    Oct 2000
    Location
    London
    Posts
    1,008
    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
  •  



Click Here to Expand Forum to Full Width