The best way to collect answers and validate them is by using the Short answer question. This type of question is not only for a short text, but it also has a “Response validation” option that you can use to validate user responses. For example, you can use this type of question to request the user to enter a number and then validate the answer to avoid human error.
Here is how this question type looks in the Google Form editor.