in reply to Equivalent to Integer?

if($base/3 != $my_integer)
Or was that '!==' just a typo? And was the integer without a $ a typo as well?

If so, you may want to look into using the modulus operator '%'.


Everything will go worng!