How to check if entered String is not a double/int?
843789Dec 3 2009 — edited Dec 3 2009So, in a calculator program, how to check that the input string consists of just numbers? Because when trying to parse into a double non numbers crashes the program...
id like it to loop back to asking the number again. I was trying to do a check via a while and a for loop with no luck =/