#include <iomanip>
setw(int)
sets the output width for the next item to be the argument.
setprecision sets the decimal places for floating point numbers.
-
fixed, scientific, defaultfloat
-
showpoint
forces a decimal point for floating point types.