content

closed account (3Cj3AqkS)
content
Last edited on
I always find it amusing when a perfectly good and working answer to the very same question from the very same person is ignored.
http://www.cplusplus.com/forum/beginner/191573/#msg924317

What, pray tell, can explain willful refusal to even try the answer you have (twice now) asked for? Do you actually want to know? Do you actually care?

Or are you just spamming us like so many others?
Note that if you always want to show exactly 2 decimal places you should use std::setprecision(2) in combination with std::fixed.

 
cout << setprecision(2) << fixed;
closed account (3Cj3AqkS)
wow
Last edited on
Topic archived. No new replies allowed.