# std::chars_format

From cppreference.com
< cpp‎ | utility

Defined in header `<utility>` |  |
enum class chars_format { scientific = /*unspecified*/, fixed = /*unspecified*/, hex = /*unspecified*/, general = fixed | scientific }; |  | (since C++17)

A `BitmaskType` used to specify floating-point formatting for `std::to_chars` and `std::from_chars`

### See also

to_chars (C++17) | converts an integer or floating-point value to a character sequence (function)
from_chars (C++17) | converts a character sequence to an integer or floating-point value (function)

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/utility/chars_format&oldid=92144"