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