[erlang-questions] io:format printing integers prefixed with zero(0)
jm
jeffm@REDACTED
Tue May 6 07:21:52 CEST 2008
Michael McDaniel wrote:
>
> (del@REDACTED)40> io:fwrite("~3.3.0w ", [1]).
> 001 ok
> (del@REDACTED)41> io:fwrite("~3.3.0w ", [10]).
> 010 ok
> (del@REDACTED)42> io:fwrite("~3.3.0w ", [100]).
> 100 ok
> (del@REDACTED)43>
>
>
> see io docs; file:///usr/local/lib/erlang/lib/stdlib-1.15/doc/html/io.html
> on my system
Thanks this is what I was after.
Jeff.
More information about the erlang-questions
mailing list