'Get a setting value as an int.
:param name: the setting name
:type name: string
:param default: the value to return if no setting is found
:type default: any'

def getint(self, name, default=0):

    return int(self.get(name, default))
