check value entered is a number or not