[erlang-questions] Ignore please Re: integer-string conversions.
Peter W. Morreale
pmorreale@REDACTED
Sat Apr 9 00:58:51 CEST 2011
Never mind, I found it. I just needed to look a little harder...
Thx
-PWM
On Fri, 2011-04-08 at 16:44 -0600, Peter W. Morreale wrote:
> I bet this has come up a lot, however I can't find anything on the web
> that is appropriate... (Nor am I seeing it in the erlang doc...)
>
> Need to convert an integer to a string, with a field width and
> precision, such that:
>
> 2 --> "02"
>
> ie: right-justified and padded with a leading zeros, depending upon
> field width.
>
> How do I do this?
>
> THanks,
> -PWM
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list