code: static double asDouble(Object value) throws ProvidenceConfigException {
          if (value instanceof Number) {
              return ((Number) value).doubleValue();
          } else if (value instanceof Numeric) {
              return ((Numeric) value).asInteger();
          }
          throw new ProvidenceConfigException(
                  "Unable to convert " + value.getClass().getSimpleName() + " to a double");
      }
docs: Convert the value to a double.
  
  @param value The value instance.
  @return The double value.
  @throws ProvidenceConfigException When unable to convert value.