Under the number question's configuration, toggle on "Answer must be a whole number." This will prevent someone from being able to type in decimal.
Hover over the question in the editor, then click the cogwheel icon to the right to configure it.
Toggle on "Answer must be a whole number."