setprecision() - can I count on it rounding or not?
okay, so here's the story: Back in my high school programming classes, we were told that iomanip didn't round. In my college classes, whenever we needed to round, we did it on our own.
Then somebody on these boards told me it did round, so I took a closer look at it and found out that it did round. Then in an IRC channel, somebody asked if it rounded, and somebody replied saying that it was locale specific, and not to rely on it rounding.
I tried checking the standard, and couldn't make any real sense out of what they said about it, and all of the explanations I could find about setprecision said something along the lines of "Sets the number of digits of precision".
so my question is this: Can I depend on setprecision to round numbers all the time?