Name
fixed function — Manipulator for fixed-point output
Synopsis
ios_base& fixed(ios_base& stream)
The fixed
function is a
manipulator that sets the floating-point output style to
fixed-point. The function calls stream.setf(ios_base::fixed
, ios_base::floatfield)
and returns stream
.
See Also
ios_base::fmtflags
type, noshowpoint
function, scientific
function, showpoint
function, num_get
in <locale>
, num_put
in <locale>
Get C++ In a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.