On Sun, Jun 15, 2008 at 8:09 PM, William <[EMAIL PROTECTED]> wrote:

>
> my $strNumber = sprintf("%04d", 123);

instead of that, you would say:

my $strNumber = sprintf("%d", 123);

This is already a number.

-- 
Jeff Peng - [EMAIL PROTECTED]
Professional Squid supports in China
http://www.ChinaSquid.com/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to