docs: def worst_decimal(d1, d2):
      """
      Given two Decimals, return a 9-filled decimal representing both enough > 0 digits
      and enough < 0 digits (scale) to accomodate numbers like either.
  
      >>> worst_decimal(Decimal('762.1'), Decimal('-1.983'))
      Decimal('999.999')
      """
      (d1b4, d1after) = _places_b4_and_after_decimal(d1)
      (d2b4, d2after) = _places_b4_and_after_decimal(d2)
      return Decimal('9' * max(d1b4, d2b4) + '.' + '9' * max(d1after, d2after))