Beispiel #1
0
 public String format(double amount) {
   String currency = BOSEconomy.getMoneyNamePlural();
   if (amount == 1) {
     currency = BOSEconomy.getMoneyName();
   }
   return amount + " " + currency;
 }
Beispiel #2
0
 @Override
 public String currencyNamePlural() {
   return economy.getMoneyNamePlural();
 }