cpp/io/ios base/precision

Manages the precision (i.e. how many digits are generated) of floating point output performed by std.

@1@ Returns the current precision. @2@ Sets the precision to the given one. Returns the previous precision.

The default precision, as established by std, is 6.

Return value
the precision before the call to the function