SomeBODY once told me

This commit is contained in:
AppleDash 2018-10-05 05:31:37 -04:00
parent 1caee7db9f
commit e42c1fde65
2 changed files with 7 additions and 0 deletions

View File

@ -48,6 +48,12 @@ public class Currency {
symbols.setGroupingSeparator(groupingSeparator.charAt(0));
}
String decimalSeparator = config.getString("decimal-separator", ".");
if (!Strings.isNullOrEmpty(decimalSeparator)) {
symbols.setDecimalSeparator(decimalSeparator.charAt(0));
}
format.setDecimalFormatSymbols(symbols);
format.setGroupingUsed(true);
format.setGroupingSize(3);

View File

@ -9,6 +9,7 @@ currency:
format: '0.00'
grouping: 3
grouping-separator: ','
decimal-separator: '.'
chat:
prefix: '&b[&9Economy&b]&r '