if ( ! ($y % $x) ) { # it is an exact multiple }