format method

String format(
  1. PolyAmount poly
)

Convert nanopoly to poly and format num according to our pattern and return the formatted string.

Implementation

String format(PolyAmount poly) =>
    nfkd(formatter.format(poly.getValueInUnit(PolyUnit.poly)));