Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support formatting and parsing of money strings with currency code #84

Open
ryanskidmore opened this issue Apr 4, 2021 · 2 comments
Open

Comments

@ryanskidmore
Copy link

It would be fantastic if this library supported the formatting and parsing of Money as strings with the currency code instead of symbol (e.g. USD 1.00) which eliminates any ambiguity caused by symbols being shared across currencies (e.g. $1.00 may refer to USD, AUD, CAD, etc).

This also enables the library to be used when storing money amounts in a database as a string, as these can be parsed when being retrieved instead of just being formatted when inserted.

@mayken
Copy link

mayken commented Jul 28, 2024

How to use it?

@Rhymond
Copy link
Owner

Rhymond commented Jul 29, 2024

Great idea, we should work on this

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

No branches or pull requests

3 participants