in reply to Re: Best way to make sure a number is an even multiple of another?in thread Best way to make sure a number is an even multiple of another?
$m*(($n%$m > 0) + int($n/$m)); [download]