How would I get 1960.00 - 666.40 = 1293.60 in a C++ program?? I don't want it to round the numbers. I tried:
cout << fixed << showpoint << setprecision (2);
but it did not work.
How would I get 1960.00 - 666.40 = 1293.60 in a C++ program?? I don't want it to round the numbers. I tried:
cout << fixed << showpoint << setprecision (2);
but it did not work.
Last edited by slimdime; 09-02-2010 at 07:41 PM.
That worked!! Thanks Elysia.