code: def _truncate_formatted_float(s, trunc_len):
      parts = re.split(r"(\.[0-9]+)", s)
      return "".join(
          [_maybe_truncate_dec_part(part, trunc_len) for part in parts]
      )
  
imports: import logging
  import os
  import re
  import yaml
  from guild import util
  from guild import yaml_util
label_desc: Use image node_id 43 for calling a global function with example usage: _truncate_formatted_float(s, trunc_len) and returns: str