CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: justasiam

Search: Search took 0.02 seconds.

  1. JavaScript Re: Building a Table in JS and it Will Not Display

    I solved the problem. It was two-fold

    1 - The <script type="text/JavaScript"> was typed incorrectly.
    2 - the line that says "tCell_CosX.appendChild(document.createTextNode(resultCosX));"
    ...
  2. JavaScript Building a Table in JS and it Will Not Display

    I am trying to create a table in JavaScript that contains a list of degrees, radians, sin, cos, and tan.

    I have the math right, but I am having trouble with the creating the table.

    It is not...
  3. Replies
    16
    Views
    3,180

    Re: Calculation Problems

    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...
  4. Replies
    16
    Views
    3,180

    Re: Calculation Problems

    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.
  5. Replies
    16
    Views
    3,180

    Re: Calculation Problems

    Thank you Paul. Can you tell me what exact math library I should be using?
  6. Replies
    16
    Views
    3,180

    Re: Calculation Problems

    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...
  7. Replies
    16
    Views
    3,180

    Re: Calculation Problems

    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...
  8. Replies
    16
    Views
    3,180

    Re: Calculation Problems

    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.
  9. Replies
    16
    Views
    3,180

    Calculation Problems

    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...
  10. Replies
    6
    Views
    1,304

    Re: Sending Data back to Main()

    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...
  11. Replies
    6
    Views
    1,304

    Re: Sending Data back to Main()

    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().
  12. Replies
    6
    Views
    1,304

    Sending Data back to Main()

    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...
Results 1 to 12 of 12





Click Here to Expand Forum to Full Width

Featured