docs: def cast_float(x):
      """
      Attempt to cleanup string or convert to number value.
  
      :param any x:
      :return float:
      """
      try:
          x = float(x)
      except ValueError:
          try:
              x = x.strip()
          except AttributeError as e:
              logger_misc.warn("parse_str: AttributeError: String not number or word, {}, {}".format(x, e))
      return x