]> git.ktnx.net Git - mobile-ledger.git/commitdiff
yay! locale-specific formatting groups
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Tue, 11 Dec 2018 20:50:11 +0000 (20:50 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Tue, 11 Dec 2018 20:50:11 +0000 (20:50 +0000)
app/src/main/java/net/ktnx/mobileledger/AccountSummary.java

index 411d96197e5e7627a5c7fe7cc453a897243eeeee..fbdc89f2c659205a8ddaa39b5c0b54d0f202564d 100644 (file)
@@ -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());