std.format add dash separators to large numbers
Andrej Mitrovic
andrej.mitrovich at gmail.com
Tue Aug 16 20:03:42 PDT 2011
Can format do something like this yet?
auto str = format("%s", 1000000);
assert(str == "1_000_000");
%s would have to be replaced with something else, obviously.
More information about the Digitalmars-d-learn
mailing list