non usd 3 decimal places
All checks were successful
cicd / ci (push) Successful in 48s

This commit is contained in:
Bel LaPointe
2025-04-11 09:29:13 -06:00
parent 0b4d78796e
commit 9681050a46

View File

@@ -201,8 +201,10 @@ func FPrintBalances(w io.Writer, linePrefix string, balances, cumulatives ledger
for _, currency := range currencies {
printableCurrency := currency
format := format
if printableCurrency != "$" {
printableCurrency += " "
format = strings.ReplaceAll(format, "%.2f", "%.3f")
}
if usdOnly && printableCurrency != "$" {
continue