In my limited experience, I\'ve been on several projects that have had some sort of string utility class with methods to determine if a given string is a number. The idea h
public static boolean isNumber(String str){ return str.matches("[0-9]*\\.[0-9]+"); }
to check whether number (including float, integer) or not