Well, atleast I was right about the padding :)

LoBue, Mark wrote:
-----Original Message-----
From: Andrew Gaffney [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 3:21 PM
To: [EMAIL PROTECTED]
Subject: Re: printf? RE: help building hash on-the-fly?


I'm going to venture a guess here. Its probably because he needed the number printed as a 3-digit number padded with zeroes, which print can't do.


To pad with zeroes, use %03d. %3d pads with spaces.

-- Andrew Gaffney


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to