and apart from the perldoc to printf and sprintf this excellent tutorial Using (s)printf() here on PM might help you with the myriad of options for the format string - if you need to print something more complicated then a zero padded number ;)
-- Hofmator
In reply to Re: number formatting
by Hofmator
in thread number formatting
by costas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |