agave-tags/tags-api/src/main/java/org/iplantc/service/tags/utils/BindingUtils.java
/**
     * Returns the Double parsed from the variable's value. Throws an
     * {@link IllegalArgumentException} if no Double can be parsed.
     * 
     * @param value
     *            The variable's value.
     */
Returns the Double parsed from the variable's value. Throws an
IllegalArgumentException if no Double can be parsed.

@param value
The variable's value.
Returns the Double parsed from the variable ' s value . Throws an IllegalArgumentException if no Double can be parsed . @param value The variable ' s value .
public static Double toDouble(String value) {
        if (StringUtils.isNullOrEmpty(value)) {
            return null;
        }
        try {
            return Double.parseDouble(value);
        } catch (Exception e) {
            throw new IllegalArgumentException("Invalid double value [" + value
                    + "]");
        }
    }
public static Double toDouble ( String value ) { if ( StringUtils . isNullOrEmpty ( value ) ) { return null ; } try { return Double . parseDouble ( value ) ; } catch ( Exception e ) { throw new IllegalArgumentException ( "Invalid double value [" + value + "]" ) ; } }
Returns the Double parsed from the variable's value.
Returns the Double parsed from the variable ' s value .