thanks all for quick reply. but my problem is not solved
>> And if you just want to display it nice, use printf >>"%.3f\n", $a;
So this mean actually number is 22.430000001 which will be used for actual calculations but printf just prints 22.43 just for "nice display". So it will give wrong calculation results because number used will be 22.4300001. should I install PERL6, no solution in PERL5.*?
In reply to Re^2: limit of for loop!!
by sagar123
in thread limit of for loop!!
by sagar123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |