public final static boolean isDouble(final String DBL)
	{
		if(DBL==null)
			return false;
		if(DBL.length()==0)
			return false;
		int i=0;
		if(DBL.charAt(0)=='-')
			if(DBL.length()>1)
				i++;
			else
				return false;
		boolean alreadyDot=false;
		for(;i<DBL.length();i++)
			if(!Character.isDigit(DBL.charAt(i)))
			{
				if(DBL.charAt(i)=='.')
				{
					if(alreadyDot)
						return false;
					alreadyDot=true;
				}
				else
					return false;
			}
		return alreadyDot;
	}