Skip to content

Conversation

@ptadros
Copy link
Contributor

@ptadros ptadros commented May 29, 2024

Context

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.

Tests

  • Tests passed

@ptadros ptadros requested a review from tagliala June 2, 2024 19:10
@ptadros
Copy link
Contributor Author

ptadros commented Jun 12, 2024

Hi @tagliala
Could you please check this PR again?

@tagliala
Copy link
Contributor

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

@sunny
Copy link
Member

sunny commented Nov 14, 2025

Hi there @ptadros, could you have a look at the minor suggestions? 🙏🏻

@sunny sunny changed the title update README with customising currency symbol example Update README with customized currency symbol example Dec 8, 2025
@sunny sunny merged commit e1fcf03 into RubyMoney:main Dec 8, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants