mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-21 18:50:47 +02:00
Removes the need for .0 when on base sats.
This commit is contained in:
@@ -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 ""
|
||||
|
Reference in New Issue
Block a user