Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

<ios> defaultfloat

Configures the flags of an ios_base object to use a default display format for float values.

ios_base& defaultfloat(
    ios_base& _Iosbase
);
_Iosbase

An ios_base object.

Returns the configured ios_base object.

The manipulator effectively calls _Iosbase.ios_base::unsetf(ios_base::floatfield), then returns _Iosbase.

Header: <ios>

Namespace: std

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.