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 (.).

  1. Go to the Configure section to the right of the number field.

Go to configure

  1. Toggle on "Answer must be a whole number".