cpp/io/manip/setprecision

When used in an expression or, sets the  parameter of the stream  or  to exactly.