public static Double stoDouble(String str){
		Double i=0.0; 
		if(str!=null){ 
			try{ 
				i = Double.parseDouble(str.trim()); 
			}catch(Exception e){ 
				i = null; 
			} 
		}else{ 
			i = null; 
		} 
		return i; 
	}