Type: Posts; User: justasiam
Search took 0.01 seconds.
November 24th, 2013, 03:01 PM
I solved the problem. It was two-fold
2 - the line that says "tCell_CosX.appendChild(document.createTextNode(resultCosX));"
November 24th, 2013, 02:06 PM
I have the math right, but I am having trouble with the creating the table.
It is not...
April 26th, 2013, 03: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, 01: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, 01:10 PM
Thank you Paul. Can you tell me what exact math library I should be using?
April 26th, 2013, 12:46 PM
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, 11: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?
April 24th, 2013, 09: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, 05: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...
April 18th, 2013, 05:13 PM
Yes, after talking to my teacher, I found that the easiest way to accomplish this was to not use one function to calculate the invoice. Instead, use individual float functions that return pieces of...
April 17th, 2013, 10:00 AM
Thank you for your quick reply. The problem with that is that the variables do not exist globally or in Main(), so there is nothing to reference. The variables were created in CalculateBill().
April 17th, 2013, 01:00 AM
I am doing a homework assignment (I know there are a lot of those questions here). I am creating a program that takes input from a file and outputs various items in the form of a restaurant invoice...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.