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

Add :code option for to_string rendering #161

Merged
merged 2 commits into from
May 4, 2021

Conversation

jwbrew
Copy link
Contributor

@jwbrew jwbrew commented May 3, 2021

Currency symbols don't always provide enough precision when the currency of a value is important. Eg $ is used as the symbol for 32 distinct currencies. This PR adds an option to suffix the code to a value where to_string is called.

@Nitrino
Copy link
Member

Nitrino commented May 4, 2021

Hi @jwbrew
Good point. Thanks! 🔥

@Nitrino Nitrino merged commit 2f830ba into elixirmoney:master May 4, 2021
@jwbrew jwbrew deleted the code-option branch May 4, 2021 12:44
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.

2 participants