mirror of
https://github.com/AppleDash/SaneEconomy.git
synced 2024-11-14 06:08:08 +01:00
SomeBODY once told me
This commit is contained in:
parent
1caee7db9f
commit
e42c1fde65
@ -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);
|
||||
|
@ -9,6 +9,7 @@ currency:
|
||||
format: '0.00'
|
||||
grouping: 3
|
||||
grouping-separator: ','
|
||||
decimal-separator: '.'
|
||||
|
||||
chat:
|
||||
prefix: '&b[&9Economy&b]&r '
|
||||
|
Loading…
Reference in New Issue
Block a user