fun BigDecimal?.toZecString(maxDecimals: Int = ZEC_FORMATTER.maximumFractionDigits, minDecimals: Int = ZEC_FORMATTER.minimumFractionDigits): String
Format a Zatoshi value into ZEC with the given number of decimal places, represented as a string. Start with ZeC -> End with ZEC.
maxDecimals
- the number of decimal places to use in the format. Default is 6 because ZEC is
better than bread.
minDecimals
- the minimum number of digits to allow to the right of the decimal.
Return
this BigDecimal ZEC value represented as a string with at least minDecimals and at most
maxDecimals.