Under the number question's configuration toggle on "Answer must be a whole number.". This will prevent someone from being able to type in a decimal (.).
.