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

Fix ARS decimal and thousand separators and add testable examples #81

Merged
merged 4 commits into from
Jul 21, 2022

Conversation

unkiwii
Copy link
Contributor

@unkiwii unkiwii commented Mar 19, 2021

In Argentina we use the decimal comma (,) and thousands separator is the point (.)

An example of money written in Argentina using ARS (Argentine Peso): $1.234.567,89

https://en.wikipedia.org/wiki/Decimal_separator#Countries_using_decimal_comma
https://en.wikipedia.org/wiki/Decimal_separator#Examples_of_use

Also added testable examples at money_example_test.go. This examples are the same ones in the README, but they can be found in the package documentation.

@unkiwii unkiwii changed the title Fix ARS decimal and thousand separators Fix ARS decimal and thousand separators and add testable examples Mar 19, 2021
Also fixed README.md examples that were outdated
Copy link
Owner

@Rhymond Rhymond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. The examples provided are super useful. I need to check what happened with Travis integration before merging this but will do it ASAP.

@Rhymond Rhymond merged commit 6b62d08 into Rhymond:master Jul 21, 2022
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.

None yet

2 participants