Export (0) Print
Expand All

showpoint

Displays the whole-number part of a floating-point number and digits to the right of the decimal point even when the fractional part is zero.

ios_base& showpoint( 
   ios_base& _Str 
);

_Str

A reference to an object of type ios_base, or to a type that inherits from ios_base.

A reference to the object from which _Str is derived.

By default, noshowpoint is in effect.

The manipulator effectively calls _Str.setf(ios_base::showpoint), and then returns _Str.

See noshowpoint for an example of using showpoint.

Header: <ios>

Namespace: std

Show:
© 2014 Microsoft