code: def get_rounded_list(float_list, round_to_decimals=3):
      """Rounds the list and returns."""
      ret = np.array(float_list).round(round_to_decimals)
      if isinstance(float_list, list):
          ret = list(ret)
      return ret
  
file_path: dragonfly/dragonfly/utils/ancillary_utils.py
imports: import numpy
label_desc: Use image node_id 7 for calling a global function with example usage: get_rounded_list(float_list, round_to_decimals) and returns: ret