www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21842] New: std.format: "%-+05,g" adds extra comma

https://issues.dlang.org/show_bug.cgi?id=21842

          Issue ID: 21842
           Summary: std.format: "%-+05,g" adds extra comma
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: bugzilla bernis-buecher.de

assert(format!"%-+05,g"(1.0) == "+1   ");

--
Apr 18