code: def val_mb(valstr: Union[int, str]) -> str:
      
      try:
          return "{:.3f}".format(int(valstr) / (1024 * 1024))
      except (TypeError, ValueError):
          return '?'
docs: Converts a value in bytes (in string format) to megabytes.