Returns a view that formats an integer value using ',' as a locale-independent thousands separator.
Declared in <fmt/format.h>
template<typename T>
group_digits_view<T>
group_digits(T value);
Example:
fmt::print("{}", fmt::group_digits(12345)); // Output: "12,345"
A view that formats value with ',' thousands separators.
| Name | Description |
|---|---|
| value | The integer value to format with grouped digits. |