Placeholder problem when used %rediseco_bal_short_<curency>%
Arginou57 opened this issue · 3 comments
Arginou57 commented
Hi, i have a problem with the placeholder %rediseco_bal_short_%
When i use it, i wanna have for example 15.6 k but i have written 15.6$k
I may thinks it will be cool to get an other placeholder without "currency name" include when we use the placeholder
Thanks for looking my message
Have a nice day
Emibergo02 commented
Mh. it might be the ending underscore?
Are you sure you didn't put "formatted" after "short"?
Please reach me on Discord (I am unnm3d)
alexey-va commented
It is cuz you call currency.format() which appends currency symbol
if (splitted.contains("short")) {
if (amount >= 1000000000000.0) {
formattedNumber = currency.format(amount / 1000000000000.0) + langs.unitSymbols.trillion();
}
}
Emibergo02 commented
Fixed