@staticmethod
def _qargs_float(key, values, default):
    """Return the query arg value as a float for the specified key or
        return the specified default value.

        :param str key: The key to return the value for
        :param dict values: The query value dict returned by urlparse
        :param float default: The default return value
        :rtype: float

        """
    return float(values.get(key, [default])[0])
