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

@param name
The name of the query parameter.
@param value
The variable's value.
Returns the Float parsed from the variable ' s value . Throws an IllegalArgumentException if no Float can be parsed . @param name The name of the query parameter . @param value The variable ' s value .
public static Float toFloat(String name, String value) {
        try {
            return BindingUtils.toFloat(value);
        } catch (IllegalArgumentException e) {
            throw new ResourceException(Status.CLIENT_ERROR_BAD_REQUEST,
                    "Bad query parameter [" + name + "]: " + e.getMessage());
        }
    }
public static Float toFloat ( String name , String value ) { try { return BindingUtils . toFloat ( value ) ; } catch ( IllegalArgumentException e ) { throw new ResourceException ( Status . CLIENT_ERROR_BAD_REQUEST , "Bad query parameter [" + name + "]: " + e . getMessage ( ) ) ; } }
Returns the Float parsed from the variable's value.
Returns the Float parsed from the variable ' s value .