showpoint function — Manipulator to show decimal point even when unnecessary
ios_base& showpoint(ios_base& stream)
The showpoint
function is a
manipulator that sets the showpoint
flag, which tells 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.setf(ios_base::showpoint)
and
returns stream
.
fixed function, ios_base::fmtflags type, noshowpoint function, scientific function, num_put
in <locale>