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

        :rtype: int

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

        :rtype: int
        """

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