So it might look like this with only one print/printf/sprintf:
my $i=0; while ($i <=100){ $i=$i+0.01; printf("%3.2f\n",$i); }
-Kurt
In reply to Re: Re: Zero Padding to the Right of the Decimal
by KPeter0314
in thread Zero Padding to the Right of the Decimal
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |