Closed matthewcarlreetz closed 2 years ago
Creates formatting defaults for currencies when using toString Allows overriding defaults balance.toString(10, { showTrailingZeroes: false })
toString
balance.toString(10, { showTrailingZeroes: false })
The only currency specifying default formatting is USD which is... { decimalPlaces: 2, showTrailingZeroes: true }
{ decimalPlaces: 2, showTrailingZeroes: true }
Creates formatting defaults for currencies when using
toString
Allows overriding defaultsbalance.toString(10, { showTrailingZeroes: false })
The only currency specifying default formatting is USD which is...
{ decimalPlaces: 2, showTrailingZeroes: true }