I have expected that it will give the output from 1.1 to 1.6 but it gave the following output.for ($i=1.1;$i<=1.6;$i+=.1) { print "$i\n"; }
In reply to Floating Point Looping In Perl by kiruthika.bkite
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |