Name

setprecision function — Sets precision

Synopsis

                  manip_t 
                  setprecision(int n)

The setprecision function template sets the output precision for a stream to n. In other words, it performs the equivalent of stream .precision(n).