in reply to Re^2: front-pad a number with zero's
in thread front-pad a number with zero's
Where did you get this sprintf "%0${len}d", $number;The sprintf documentation, perhaps?
BTW: The thread you responded to is 7 years old.printf '<%06s>', 12; # prints "<000012>"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: front-pad a number with zero's
by Anonymous Monk on Aug 27, 2011 at 01:35 UTC |