Determines whether the supplied number is an integer.