fun BigDecimal?.toZec(decimals: Int = ZEC_FORMATTER.maximumFractionDigits): BigDecimal
Format a BigDecimal ZEC value as a BigDecimal ZEC value, right-padded to the given number of fraction digits. Start with ZEC -> End with ZEC.
decimals
- the scale to use for the resulting BigDecimal.
Return
this BigDecimal ZEC adjusted to the default scale and rounding mode.