Number Formatting Question

Brent Fulgham <>
Fri Feb 13 18:34:04 CET 2004


--- Richard Carlsson <> wrote:
> > Is there any way to instruct Erlang to format a
> number
> > with leading zeros?
> 
> The general control sequence is `~F.P.PadC' (field
> width,
> precision and pad char). Just change the line

This is perfect -- thanks very much.

-Brent



More information about the erlang-questions mailing list