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

def getfloat(self, name, default=0.0):

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