ΒΆtemplate <typename T>
auto group_digits(T value) -> group_digits_view<T>
template <typename T>
auto group_digits(T value) -> group_digits_view<T>
Description
\rstReturns a view that formats an integer value using ',' as a locale-independent thousands separator. *Example**:: fmt::print("{}", fmt::group_digits(12345)); // Output: "12,345"\endrst
Declared at: third_party/fmt/include/fmt/format.h:4172
Templates
- T
Parameters
- T value