Make sure TextBox contains a number and determine if the number is an integer.