in reply to Rounding of a number...
One way is to just drop the trailing digits:
my $x = $yearlyamount / 52;
$x =~ s/(\.\d\d)\d*$/$1/;
PerlMonks, of course - how could you ask?
Games & puzzles
Arts & music
Whichever pays my bills
Results (242 votes). Check out past polls.