-or a little more fun-
print "The average is @{[$total/$count]}\n";
but as you say this is floating point output so printf it:
printf ("The average is %2.2f", $total/$count)
Cheers,
R.
In reply to Re^3: reading from middle of file
by Random_Walk
in thread reading from middle of file
by guisilva
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |