src/main/java/ucar/geoapi/NetcdfParameter.java
@Override
    public double doubleValue() throws InvalidParameterTypeException {
        final Parameter parameter = this.parameter;
        if (parameter.isString() || parameter.getLength() != 1) {
            throw invalidType(parameter, Double.class);
        }
        return parameter.getNumericValue();
    }
/**
     * Returns the {@linkplain Parameter#getNumericValue() parameter numeric value}
     * as a floating point value. This method first ensures that the parameter value
     * {@linkplain Parameter#isString() is not a string} and that the
     * {@linkplain Parameter#getLength() number of numeric values} is equals to 1,
     * then delegates to the {@link Parameter#getNumericValue()} method.
     *
     * @return the parameter numeric value.
     * @throws InvalidParameterTypeException if the parameter value is not convertible
     *         to the {@code double} type.
     *
     * @see Parameter#getNumericValue()
     */
Returns the  Parameter#getNumericValue() parameter numeric value
as a floating point value. This method first ensures that the parameter value
Parameter#isString() is not a string and that the
Parameter#getLength() number of numeric values is equals to 1,
then delegates to the  Parameter#getNumericValue() method.

@return the parameter numeric value.
@throws InvalidParameterTypeException if the parameter value is not convertible
to the  double type.


Returns the Parameter#getNumericValue () parameter numeric value as a floating point value . This method first ensures that the parameter value Parameter#isString () is not a string and that the Parameter#getLength () number of numeric values is equals to 1 then delegates to the Parameter#getNumericValue () method . @return the parameter numeric value . @throws InvalidParameterTypeException if the parameter value is not convertible to the double type .
@Override
    public double doubleValue() throws InvalidParameterTypeException {
        final Parameter parameter = this.parameter;
        if (parameter.isString() || parameter.getLength() != 1) {
            throw invalidType(parameter, Double.class);
        }
        return parameter.getNumericValue();
    }
@ Override public double doubleValue ( ) throws InvalidParameterTypeException { final Parameter parameter = this . parameter ; if ( parameter . isString ( ) || parameter . getLength ( ) != 1 ) { throw invalidType ( parameter , Double . class ) ; } return parameter . getNumericValue ( ) ; }
Returns the {@linkplain Parameter#getNumericValue() parameter numeric value}
 as a floating point value.
Returns the { @linkplain Parameter#getNumericValue () parameter numeric value } as a floating point value .