Input Number Check

The serial input basics tutorial may be of interest. Serial Input Basics - updated