Lets consider the first case “120”, here all 3 are numbers so i am good and can go with then condition.
and second case “12o”, here 1 and 2 are numbers. and o is string, then i should go with else condition.
and third case “Test”, here the entire string is text, so have to go with else condition.
Then condition only if the entire string contains Numbers.