And if you just want to display it nice, use printf "%.3f\n", $a;. This is covered in perlfaq4
In reply to Re: limit of for loop!! by Anonymous Monk in thread limit of for loop!! by sagar123