Removes the need for .0 when on base sats.

This commit is contained in:
Vitor Pamplona
2023-08-04 15:24:41 -04:00
parent 674896cea4
commit 8abfd7149b

View File

@@ -1492,7 +1492,7 @@ val OneKilo = BigDecimal(1000)
var dfG: DecimalFormat = DecimalFormat("#.0G")
var dfM: DecimalFormat = DecimalFormat("#.0M")
var dfK: DecimalFormat = DecimalFormat("#.0k")
var dfN: DecimalFormat = DecimalFormat("#.0")
var dfN: DecimalFormat = DecimalFormat("#")
fun showAmount(amount: BigDecimal?): String {
if (amount == null) return ""