On Mon, 24 Nov 2003 18:21:50 +0100, Michael wrote:
Using %2u results in a leading space, not a leading zero as stated in
the requirement. See the documentation for sprintf() to find out how
to get leading zeros.
It's "%02d"
Thanx folks !
The 'u' IIRC, is a symbol for 'UNSIGNED' INTs.
Regards,
Ian
--
Ian.H [Design & Development]
digiServ Network - Web solutions
www.digiserv.net | irc.digiserv.net | forum.digiserv.net
Programming, Web design, development & hosting.