Gets the setting value as a :obj:`float`.

        :rtype: float

def getfloat(self, key, **kwargs):
        """
        Gets the setting value as a :obj:`float`.

        :rtype: float
        """

        return self.get(key, cast_func=float, **kwargs)