Force User to Input a Number

Not really, no. Your best bet is to validate it, probably using a regex like this:

^\d+$

For an example of a prompt with validation, see this:

Let me know if you need more information.