code: public Double convertStringToDouble(String value) {
          Double result;
          try {
              result = Double.valueOf(value);
          } catch (NumberFormatException e) {
              result = DEFAULT_DOUBLE_VALUE;
          }
          return result;
      }
docs: Convert the given value to a {@link Double}. If the value is not in a
  valid numeric format, then a default value is returned.
  
  @param value The value to convert
  
  @return The converted numeric value
  
  @see #isDouble(String)
  @see Double#valueOf(String)