User Profile

Collapse

Profile Sidebar

Collapse
Grandia2
Grandia2
Last Activity: Sep 29 '08, 12:03 AM
Joined: Sep 28 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Grandia2
    replied to Rounding in C++
    in C
    Could i please see that in a formula. To me it looks kind of jumbled. I got tax+.005 * 100 (int tax)??? /100 = float tax?

    Im very sure that that is not right at all. How should it look?
    See more | Go to post

    Leave a comment:


  • Grandia2
    started a topic Rounding in C++
    in C

    Rounding in C++

    Hello all. I am trying to round a float number and then have that number added to a total of numbers. the number i am trying to round up is the one called tax. It will take the last digit and round up by one. I have provided the code for just this occasion. Remember, i am having trouble getting the variable tax to round up one decimal digit. And that value needs to go and then be added to the total cost variable. THANK YOU!

    #include...
    See more | Go to post
No activity results to display
Show More
Working...