is there a way to output formatted text following the locale settings ?
Paul Backus
snarwin at gmail.com
Wed May 26 00:40:30 UTC 2021
On Wednesday, 26 May 2021 at 00:18:29 UTC, someone wrote:
>
> Thanks for your reply, but no, let me clarify:
>
> I do not want 123\`456\`789 or whatever else custom delimiter.
>
> I just want to output what is already set in the LC_ALL locale
> environment variable which in my case results in 123,456,789
> which of course I can mimic hard-coding it, but the idea is ...
> quite the opposite.
In that case, you will want to use the C library functions from
[`core.stdc.stdio`][1].
[1]: https://dlang.org/phobos/core_stdc_stdio.html
More information about the Digitalmars-d-learn
mailing list