in reply to Re: Rounding to the nearest 50
in thread Rounding to the nearest 50

your code
for my $n (148..153) { print $n + 50 - $n % 50, "\n"; }
does the same error as borisz' original post...

Update:
now it's better! :p