Use compact notation for portfolio balance also

pull/200/head
Simon Roberts 3 years ago
parent fa2e957043
commit d120077b99
No known key found for this signature in database
GPG Key ID: 0F30F99E6B771FD4

@ -40,6 +40,9 @@ func (ct *Cointop) UpdateMarketbar() error {
total = math.Round(total*1e2) / 1e2
totalstr = humanize.Monetaryf(total, 2)
}
if ct.State.compactNotation {
totalstr = humanize.ScaleNumericf(total, 3)
}
timeframe := ct.State.selectedChartRange
chartname := ct.SelectedCoinName()

Loading…
Cancel
Save