> > 1. why > > writefln(format("%%1.%df",2)); > > produces 'Error: std.format' > Because the format function returns "%1.2f", so writefln expects an > extra floating-point argument after that string. Indeed! Thank you for an explanation.