noshowpoint function — Manipulator to suppress unnecessary decimal points
ios_base& noshowpoint(ios_base& stream)
The noshowpoint
function is
a manipulator that clears the showpoint
flag, causing an output stream
to write a decimal point for floating-point output, even if the
point is unnecessary (only zeros appear after the decimal point).
Specifically, the function calls stream.unsetf(ios_base::showpoint)
and
returns stream
.
fixed function, ios_base::fmtflags type, scientific function, showpoint function, num_put
in <locale>