ios_base::precision

ios_base::precision

streamsize precision() const;
streamsize precision(streamsize prec);

The first member function returns the stored display precision. The second member function stores prec in the display precision and returns its previous stored value.