in reply to Help with Numbers..Please

Hi Gareth, Use regular numbers to do your calculation and sprintf back into the value that you need. See code below. #!/usr/bin/perl for (0..10) { my $value = sprintf("%.5d",$_); print $value,"\n"; }