Posted by Nathan Reynolds on September 19, 2001 at 21:19:45:
In Reply to: Re: Problems with the state tax Project 3 posted by Mitch Barnett on September 19, 2001 at 18:01:57:
Yes all the other values are fine, its just that the state tax is rounding up to .72 instead of not rounding like it is suppose to for .71
: Are all your other values previously correct that are being calculated for state tax? Might wanna double check that...
: : When I calculate the state tax it gives me 0.72 instead of 0.71. I know the notes say to store the dollars and cents as two seperate integers, but it just returns zeros. With a double at least I get .72 which is kind of close. Any suggestions?