format method

String format(
  1. dynamic lovelace
)

Convert lovelace to ADA and format number according to our pattern and return the formatted string.

Implementation

String format(lovelace) => formatter.format(lovelace / 1000000.0);