code: def multiplication_formatter(power, value, symbol):
    
    if isinstance(value, float):
      if value.is_integer():
        value = rint(value) # Hides ".0" when possible
      else:
        value = "{:g}".format(value)
    if power != 0:
      suffix = "" if power == 1 else "^{p}".format(p=power)
      if value == 1:
        return "{0}{1}".format(symbol, suffix)
      if value == -1:
        return "-{0}{1}".format(symbol, suffix)
      return "{v} * {0}{1}".format(symbol, suffix, v=value)
    else:
      return str(value)
docs: Formats a ``value * symbol ** power`` as a string.
  
    Usually ``symbol`` is already a string and both other inputs are numbers,
    however this isn't strictly needed. If ``symbol`` is a number, the
    multiplication won't be done, keeping its default string formatting as is.