Summary: Thousands grouping syntax in writef?
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos

--- Comment #0 from 2011-11-09 20:11:23 PST ---
Quotation from:

> For some numeric conversions a radix character ("decimal point") or thousands'
> grouping character is used. The actual character used depends on the 
> part of the locale. The POSIX locale uses '.' as radix character, and does not
> have a grouping character. Thus,
>     printf("%'.2f", 1234567.89);
> results in "1234567.89" in the POSIX locale, in "1234567,89" in the nl_NL
> locale, and in "1.234.567,89" in the da_DK locale.

Maybe it's good to support this syntax in writef/writefln too. But I don't know
if using the locale is a good idea here.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to