http://d.puremagic.com/issues/show_bug.cgi?id=8574

           Summary: [std.format] The flag ' ' works for floating numbers,
                    not only for integers
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: websites
        AssignedTo: nob...@puremagic.com
        ReportedBy: lir...@gmail.com


--- Comment #0 from Liremn Yukiha <lir...@gmail.com> 2012-08-21 08:32:49 PDT ---
In the document of std.format of Phobos
(http://dlang.org/phobos/std_format.html), it is written that the flag ' ' only
affects "integral ('d')" in the table describing the formatting flags, but it
seems that it also works for floating numbers, or even BigInt (with "% d" or "%
s"). So I suppose the last row of the table should be:

' ' / numeric / Prefix positive numbers in a signed conversion with a space.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to