C++20 Formatting: Part-5 Precision and Alternate formatting
6 min readMar 10, 2023
In the fourth part of the series on formatting library, we looked at formatting number of integral and floating point types. Further with examples we saw how different type specifier for floating point number have different default precisions for hexadecimal, scientific, fixed and general types.