$x = 151; print (int(( $x + 50 -1 ) / 50) * 50); [download]
In reply to Re: Rounding to the nearest 50 by borisz in thread Rounding to the nearest 50 by Hammy