checks to see if vars are numbers