@Override
    public final Float optFloat(final String key, final Float defaultValue) {
        Float result = optFloat(key);
        return result == null ? defaultValue : result;
    }
@ Override public final Float optFloat ( final String key , final Float defaultValue ) { Float result = optFloat ( key ) ; return result == null ? defaultValue : result ; }
Get a property as a float or Default value.

@param key the property name
@param defaultValue default value