We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
iex(8)> Money.new!(:EUR, "90") #Money<:EUR, 90> iex(11)> Money.to_currency(v(8), :EUR) {:ok, #Money<:EUR, 90>} iex(12)> Money.to_currency(v(8), "EUR") {:ok, #Money<:EUR, 89.99999999999999999999999996>}
I'm not really sure why that's happening:
Dezimal
Version: 2.6.1
The text was updated successfully, but these errors were encountered:
That‘s just my example. I noticed it when loading the initial money value from the db (composite type in postgres).
Sorry, something went wrong.
15feae6
Now published to hex as version 2.7.2
No branches or pull requests
I'm not really sure why that's happening:
Dezimal
values if I understand those correctly.Version: 2.6.1
The text was updated successfully, but these errors were encountered: