private double getDouble(String valor) {
		if(valor != null && valor.length() > 0 ){
			try{
			 return Double.parseDouble(valor.replace(",", "."));
			}catch(NumberFormatException ex){
				//if Bovespa send some bad string, I need to handle it.
				return 0;
			}
		}else{
			return 0;	
		}
		
	}