While I was again formatting my outputs I started to wonder:
What's the reason, that io:format does not contain integer (a'la %d/%i
in C) formats ? I need it so often, that I must be missing something
totally obvious ...
io:fwrite("~2..0s", [integer_to_list(7)]) works to write 07, but having
a sign is a bit more complicated :-)
As I already asked for hex (~h, ~H as they might be), could there be ~d