fmtlib / fmt

A modern formatting library
https://fmt.dev
Other
19.9k stars 2.43k forks source link

It would be good to have a customizable separator in fmt::group_digits(...) #3929

Closed ADDubovik closed 3 months ago

ADDubovik commented 3 months ago

Current output "123,456" is not clear enough if it's an integer or fractional in multi-national environments.

vitaut commented 3 months ago

Thanks for the suggestion but group_digits is intentionally minimal. If you need a customizable separator you can use the locale.