def get_float_value(self, section, option, default=0.0):
        """Get the float value of an option, if it exists."""
        try:
            return self.parser.getfloat(section, option)
        except NoOptionError:
            return float(default)
def get_float_value ( self , section , option , default = 0.0 ) : try : return self . parser . getfloat ( section , option ) except NoOptionError : return float ( default )
Get the float value of an option, if it exists.