std::noshowpoint

When the showpoint format flag is not set, the decimal point is only written when necessary for floating-point values inserted into the stream: when their decimal part is not zero.

This flag can be set with the showpoint manipulator. When the flag is set, the decimal point is always written for floating point values inserted into the stream, even for those whose decimal part is zero.

For standard streams, the showpoint flag is not set on initialization.

Parameters

str

Stream object where to apply.
Because this function is a manipulator, it is designed to be used alone with no arguments in conjunction with the insertion (<<) and extraction (>>) operations on streams (see example below).

Parameters

str

Stream object whose format flag is affected.
Because this function is a manipulator, it is designed to be used alone with no arguments in conjunction with the insertion (<<) and extraction (>>) operations on streams (see example below).