Setting hidden symbol when format currency
Closed this issue · 1 comments
tuanluu-agilityio commented
In some cases user don't want show symbol base on currency but I can't found anything setting for that. I saw you get default value on defaultSymbol if user don't setting symbol on here
currencyFormatter.js/currencyFormatter.js
Line 1072 in 66fae5e
osrec commented
Fixed in version 2.2.0. You can now do either of the following to remove the symbol
OSREC.CurrencyFormatter.format(123456, { currency: 'USD', symbol: '' })
or
OSREC.CurrencyFormatter.format(123456, { currency: 'USD', symbol: null })