April 26th, 2013, 02:16 PM
OK, after reading that article (thank you Paul) and many others, I added modified every calculation I was using that involved a decimal value (.18 for tax, .07 for surcharge and .015-.035 fro...
April 26th, 2013, 12:24 PM
Paul, I agree with you. I will speak to my teacher on Monday about this. However, I do not want to waste and entire weekend waiting to be able to ask her the question.
April 26th, 2013, 12:10 PM
Thank you Paul. Can you tell me what exact math library I should be using?
April 26th, 2013, 11:46 AM
I hear what you are saying. Let me give you the exact wording of the assignment and then links to my code. I would post the entire code here, but there are too many characters for this post to hold...
April 25th, 2013, 10:34 AM
I would prefer option #1. Appearance to a customer is more accurate than higher precision behind the scenes.
Again, how do I take the rounded result and use it for the next calculation?
I...
April 24th, 2013, 08:05 PM
I agree. That would be easier. However, I need to display the results of each calculation in addition to coming to an end result.
It would be far easier to just display pennies.
April 24th, 2013, 04:21 PM
I am writing a program for my beginning c++ class. It is supposed to create an invoice in the console window. so far, everything is working perfectly, except for one thing.
My invoice comes out...