Sometimes, there are currencies which have multiple symbols (e.g Hong Kong Dollar can be represented with $ or HK$. When an application supports multiple currencies, this produces ambiguous interpretation which currency is displayed (.e.g USD or HKD). This PR adds an example to the README how to do it (e.g can be placed in the gem initialiser in rails app).
Changes
Update ReadMe with more currency formatting instruction.
Hi @ptadros , sorry but I'm not a maintainer. I did a review because I was submitting a PR myself and I was interested in a "shortcut" to customize currency symbol
Context
Sometimes, there are currencies which have multiple symbols (e.g Hong Kong Dollar can be represented with
$
orHK$
. When an application supports multiple currencies, this produces ambiguous interpretation which currency is displayed (.e.g USD or HKD). This PR adds an example to the README how to do it (e.g can be placed in the gem initialiser in rails app).Changes
Tests