mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-27 18:26:35 +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 dfG: DecimalFormat = DecimalFormat("#.0G")
|
||||||
var dfM: DecimalFormat = DecimalFormat("#.0M")
|
var dfM: DecimalFormat = DecimalFormat("#.0M")
|
||||||
var dfK: DecimalFormat = DecimalFormat("#.0k")
|
var dfK: DecimalFormat = DecimalFormat("#.0k")
|
||||||
var dfN: DecimalFormat = DecimalFormat("#.0")
|
var dfN: DecimalFormat = DecimalFormat("#")
|
||||||
|
|
||||||
fun showAmount(amount: BigDecimal?): String {
|
fun showAmount(amount: BigDecimal?): String {
|
||||||
if (amount == null) return ""
|
if (amount == null) return ""
|
||||||
|
Reference in New Issue
Block a user