title: Check user input is correct
body: <p>I wrote a bash script which takes numbers for calculation via user input. The problem I have is if the user types a letter or a space by mistake, the whole script fails and the user must start again.</p>
  
  <p>There must be an easy way to check the input is numeric only that will ask for the input again if anything else is input accidentally?</p>