code: def convert_float(value, parameter):
      '''
      Converts to int or float:
          '', '-', None convert to parameter default
          Anything else uses int() or float() constructor
      '''
      value = _check_default(value, parameter, ( '', '-', None ))
      if value is None or isinstance(value, float):
          return value
      try:
          return float(value)
      except Exception as e:
          raise ValueError(str(e)f convert_float(value, parameter):
      '''
      Converts to int or float:
          '', '-', None convert to parameter default
          Anything else uses int() or float() constructor
      '''
      value = _check_default(value, parameter, ( '', '-', None ))
      if value is None or isinstance(value, float):
          return value
      try:
          return float(value)
      except Exception as e:
          raise ValueError(str(e))
docs: Converts to int or float:
          '', '-', None convert to parameter default
          Anything else uses int() or float() constructor