showpoint

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.

Example

See noshowpoint for an example of using showpoint.

Requirements

Header: <ios>

Namespace: std

Show:
© 2016 Microsoft