Skip to content

Commit

Permalink
CustomEconomy - add commas to balance format
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneBeee committed Jul 7, 2024
1 parent 4fc9c32 commit 7a1f4c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public int fractionalDigits() {

@Override
public String format(double amount) {
return String.format("%s%.2f", CURRENCY_SYMBOL, amount);
return String.format("%s%,.2f", CURRENCY_SYMBOL, amount);
}

@Override
Expand Down

0 comments on commit 7a1f4c9

Please sign in to comment.