From 9ea6b1d4b8092349d1a41049d89c698cb472dc85 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Tue, 11 Dec 2018 20:50:11 +0000 Subject: [PATCH] yay! locale-specific formatting groups --- app/src/main/java/net/ktnx/mobileledger/AccountSummary.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/AccountSummary.java b/app/src/main/java/net/ktnx/mobileledger/AccountSummary.java index 411d9619..fbdc89f2 100644 --- a/app/src/main/java/net/ktnx/mobileledger/AccountSummary.java +++ b/app/src/main/java/net/ktnx/mobileledger/AccountSummary.java @@ -361,7 +361,7 @@ public class AccountSummary extends AppCompatActivity { String curr = cAmounts.getString(0); Float amt = cAmounts.getFloat(1); if (amt_text.length() != 0) amt_text.append('\n'); - amt_text.append(String.format("%s %1.2f", curr, amt)); + amt_text.append(String.format("%s %,1.2f", curr, amt)); } } amt_tv.setText(amt_text.toString()); -- 2.39.5