is this normal?
what's wrong?

my $number=(0.75-0.54)/0.03;
print "$number\n";
for (0..$number)
{
 print "$_ / $number\n";
}

my $number=(75-54)/3;
print "$number\n";
for (0..$number)
{
 print "$_ / $number\n";
}



output:
7
0 / 7
1 / 7
2 / 7
3 / 7
4 / 7
5 / 7
6 / 7
7
0 / 7
1 / 7
2 / 7
3 / 7
4 / 7
5 / 7
6 / 7
7 / 7

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


Reply via email to