code: def to_float_with_default(value, default_value):
          
          result = FloatConverter.to_nullable_float(value)
          return result if result != None else default_value
docs: Converts value into float or returns default when conversion is not possible.
  
          :param value: the value to convert.
  
          :param default_value: the default value.
  
          :return: float value or default value when conversion is not supported.