[Issue 5687] std.string.format() error with "%a"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 3 00:30:35 PST 2011


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



--- Comment #1 from Lars T. Kyllingstad <bugzilla at kyllingen.net> 2011-03-03 00:27:42 PST ---
I've found the cause for this:  1.2 is a double, and should be formatted as
such, but it is converted to a real internally in std.format.doFormat().

I think the right way to go is to rewrite std.string.format() in terms of
std.format.formattedWrite() instead of std.format.doFormat().

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


More information about the Digitalmars-d-bugs mailing list