1, 2 and 3 are integers, while 9.5 is not.