fix BOSE7 impl to use builtin currency formatter.

This commit is contained in:
Sleaker 2012-11-08 23:58:06 -08:00
parent 2551f28e48
commit 88ec6335d2
1 changed files with 1 additions and 5 deletions

View File

@ -152,11 +152,7 @@ public class Economy_BOSE7 implements Economy {
@Override
public String format(double amount) {
if (amount == 1) {
return String.format("%.0f %s", amount, currencyNameSingular());
} else {
return String.format("%.2f %s", amount, currencyNamePlural());
}
return economy.getMoneyFormatted(amount);
}
@Override