You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.
@StErMi a PR is just a simple step, but maybe you are out of the time, if you wan to register a currency you could do it liek this
constcurrencyFormatter=require('currency-formatter');// suppose you are using a Bitcoin symbol like this 'BIT'// get the default currency optionsconstdefaults=currencyFormatter.defaultCurrency;// add your custom currency optionsconstcustomCurrency={symbol: 'BIT',code: 'BIT',format: '%v %s'}// where %v is for value and %s is for symbol// merge your currency optionsconstmyCurrency={ defaults..., ...customCurrency};// and finally you can call the formatter like usually you docurrencyFormatter.format(2320,myCurrency)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is it possible to extend the number of currency supported via code?
The text was updated successfully, but these errors were encountered: