private boolean isNumberDouble(String input) {
		boolean res = true;
		int i = 0;
		if(input == null || input.isEmpty() || input.endsWith(".") || !input.contains("."))
			res = false;
		else{
			i = 0;
			while(i < input.length() && res){
				if(!Character.isDigit(input.charAt(i)) && (input.charAt(i) != '.'))
						res = false;
				i++;
			}
		}
		return res;
	}