code: def _parse_value(self, raw):
          
          try:
              if not raw.startswith("0"):
                  val = float(raw)
                  if (val % 1) == 0:  # integer
                      val = int(raw)
                      return str(val)
  
                  return self.num_format.format(val)
              else:
                  raise ValueError("Cannot parse int!")
          except:
              return str(raw)
docs: Parses value
  
          :param raw: raw value
          :return: Parsed value