code: public double getPropertyAsDouble(final String bundleName, final String key) {
  		LOG.info("Getting value for key: " + key + " from bundle: "
  				+ bundleName);
  		ResourceBundle bundle = bundles.get(bundleName);
  		try {
  			return Double.parseDouble(bundle.getString(key));
  		} catch (MissingResourceException e) {
  			LOG.info("Resource: " + key + " not found!");
  		} catch (NumberFormatException e) {
  			return -1d;
  		}
  		return -1d;
  	}
docs: Gets the value as double from the resource bundles corresponding to the
  supplied key. <br/>
  
  
  @param bundleName
  the name of the bundle to search in
  @param key
  the key to search for
  @return {@code -1} if the property is not found or the value is not a
  number; the corresponding value otherwise