code: def refine_integer_value(value):
      unit_dict = {"K": 1024, "M": 1024**2, "G": 1024**3}
  
      if value[-1] in list(unit_dict.keys()):
          int_value = int(value[:-1]) * unit_dict[value[-1]]
          return int_value
      return int(value)
  
label_desc: Use image node_id 4 for calling a global function with example usage: refine_integer_value(value) and returns: int, int_value