1
0
Fork 0
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:
Jozef Steinhübl 2023-10-05 22:09:48 +02:00
parent 7ff6cbde47
commit 58cf77e2b9
No known key found for this signature in database
GPG key ID: E944BC293F5FF7E7

View file

@ -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