Do the conversion to an integer and then do the comparison.