Skip to content

Correctly handle currencies other than 2-decimal#14

Open
molbrown wants to merge 1 commit intosmeevil:masterfrom
molbrown:non-100_decimal_currencies
Open

Correctly handle currencies other than 2-decimal#14
molbrown wants to merge 1 commit intosmeevil:masterfrom
molbrown:non-100_decimal_currencies

Conversation

@molbrown
Copy link
Copy Markdown

A bug was exposed in use of currency_formatter when formatting 3-decimal
currencies. Changes methods to use the subunit_to_unit value of the
currency instead of assuming 2 decimal places.

@molbrown
Copy link
Copy Markdown
Author

@smeevil Hopefully you are still maintaining this project and can assist with resolving this formatting issue. I'm not able to identify why the build is failing, but it appears that it has since eb6a02b. Please let me know if I can do anything else to get this change merged in.

A bug was exposed in use of currency_formatter when formatting 3-decimal
currencies. Changes methods to use the subunit_to_unit value of the
currency instead of assuming 2 decimal places.
@molbrown molbrown force-pushed the non-100_decimal_currencies branch 2 times, most recently from 05f8c05 to b31e494 Compare July 17, 2021 03:10
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.

1 participant