code: def decimal_part(maxprec):
      if randrange(100) > 60:  # integers
          return digits(maxprec)
      if randrange(2):
          intlen = randrange(1, maxprec + 1)
          fraclen = maxprec - intlen
          intpart = digits(intlen)
          fracpart = digits(fraclen)
          return "".join((intpart, ".", fracpart))
      else:
          return "".join((dot(), digits(maxprec)))
  
imports: from random import randrange, sample
  from fractions import Fraction
  from randfloat import un_randfloat, bin_randfloat, tern_randfloat
label_desc: Use image node_id 5 for calling a global function with example usage: decimal_part(maxprec) and returns: digits, str, str