Question about output for first phonebill in project 4.


[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]

Posted by Mitch Barnett on September 27, 2001 at 17:41:05:

I have a question over the state tax, which reads 0.20 dollars or 20 cents.

The state tax is 0.4%.

If you take 0.004, you multiply it by (subtotal + callingplan fee + callingcard fee).

0.004 * (47.30 + 4.95 + 1.00)
0.004 * (53.25) = 0.213.

When that truncates it should be 21 cents, no? Why is it saying 20?

Anyone else notice that?



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]