code: def get_rounded_str_float(
      num: float,
      output_precision: int,
      min_precision=1,
      max_precision=3,
  ) -> str:
      """
      Get a string of a float number with rounded precision.
  
      Args:
          num (float): float number to round
          output_precision (int): precision of the output floating point number
          min_precision (int, optional): Minimum precision of the output floating point number. Defaults to 1.
          max_precision (int, optional): Maximum precision of the output floating point number. Defaults to 3.
  
      Returns:
          (str): Return a string of a float number with rounded precision.
      """
      output_precision = min(
          max_precision, max(min_precision, output_precision)
      )
      return f"{num:.{output_precision}f}"
  
imports: import json
  import os
  from collections import Counter
  from collections import OrderedDict
  from pathlib import Path
  from typing import Dict, List, Union
  import librosa
  import numpy
  from nemo.collections.asr.parts.utils.speaker_utils import audio_rttm_map, get_subsegments, get_uniqname_from_filepath, rttm_to_labels, segments_manifest_to_subsegments_manifest, write_rttm2manifest
  from nemo.utils.data_utils import DataStoreObject
label_desc: Use image node_id 1 for calling a global function with example usage: get_rounded_str_float(num, output_precision, min_precision, max_precision) and returns: num