mirror of
https://github.com/xHyroM/lighteco.git
synced 2024-11-21 22:41:06 +01:00
fix(currency-money): format double
This commit is contained in:
parent
7ff6cbde47
commit
58cf77e2b9
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ public class Vault extends AbstractEconomy {
|
||||||
NumberFormat format = NumberFormat.getInstance();
|
NumberFormat format = NumberFormat.getInstance();
|
||||||
format.setCurrency(java.util.Currency.getInstance(this.plugin.getConfig().currencyCode));
|
format.setCurrency(java.util.Currency.getInstance(this.plugin.getConfig().currencyCode));
|
||||||
|
|
||||||
return format.format(BigDecimal.valueOf(amount));
|
return format.format(amount);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue