code: def FloatToString(f):
      num_digits = 6  # we want to print 6 digits after the zero
      g = f
      while abs(g) > 1.0:
          g *= 0.1
          num_digits += 1
      format_str = "%.{0}g".format(num_digits)
      return format_str % f
  
imports: from __future__ import print_function
  import sys
  import argparse
  from collections import defaultdict
label_desc: Use image node_id 1 for calling a global function with example usage: FloatToString(f) and returns: unknown