www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18579] New: No group separators for floating point number


          Issue ID: 18579
           Summary: No group separators for floating point number
                    formatted with zero decimal digits
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: llucenic gmail.com

Format string "%,3.0f" used with a non-decimal double (e.g. 16887662) does not
group the output digits with a group separator (,). The same applies for
floating point numbers with decimal part formatted with zero decimal precision.
The expected formatting: e.g. 16,887,662.

Mar 07 2018