<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
);

Parameters

  • _Iosbase
    An ios_base object.

Property Value/Return Value

Returns the configured ios_base object.

Remarks

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

Requirements

Header: <ios>

Namespace: std

See Also

Reference

<ios>

iostream Programming

iostreams Conventions

Other Resources

<ios> Members