public static boolean isInRange(String number, int min, int max) {
		try {
			int a = Integer.parseInt(number);
			return min <= a && a <= max;
		} catch (NumberFormatException e) {
			return false;
		}
	}