D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] quick Perl question.

 

On 14/06/07, Steve Marvell <steve@xxxxxxxxxxxxxx> wrote:
> James Wonnacott wrote:
>
> > 1 9 11 42 6 7 85 etc.
> >
> > my question is how do I turn these into 01 09 11 42 06 07 85 etc.
> > Numbers >99 will never occur
>
> sprintf

sprintf is pretty universal to most c-based (and/or sensible) languages.

A.

-- 
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Hosting

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html