![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: sprintf percent formattingby b10m (Vicar) |
on Aug 17, 2005 at 12:50 UTC ( #484405=note: print w/replies, xml ) | Need Help?? |
sprintf is probably what you want, yet give it a slightly altered input and it'll work:
Instead of '%02d%%', I now use '%d%%' which seems to be what you want.
In Section
Seekers of Perl Wisdom
|
|