|
|
| Author |
Message |
|
| jouni.ryno at fmi.fi |
Posted: Thu Jul 12, 2001 2:44 pm |
|
|
|
Guest
|
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
also ?
With regards
Jouni
Jouni Ryn |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|