![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re: Help with Numbers..Pleaseby ph0enix (Friar) |
on Apr 24, 2003 at 10:04 UTC ( #252823=note: print w/replies, xml ) | Need Help?? |
Numerical value of your number is 1 so the 'droping zeros' is correct behaviour. Try printf or sprintf for formating your outputs.
or get it back into $number variable $number = sprintf('%06d', $number);
In Section
Seekers of Perl Wisdom
|
|