Rounding Numbers in c++ - C++ Forum - cplusplus.com - The C++ Resources Network
That will round to the next highest whole number. Floor uses the same syntax and will round to the next lowest whole number. If you use setprecision() you are going to be hacking a number off at a certain number... not rounding. Just do not forget to incl...