allow %d directive
%d converts non-numbers to 0
%d rounds floats to ints
negative numbers are handled right in %d, too