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

Media RSS price tag uses Double for the price amount #372

Closed
vsavicks opened this issue Dec 4, 2017 · 1 comment · Fixed by #508 or #617
Closed

Media RSS price tag uses Double for the price amount #372

vsavicks opened this issue Dec 4, 2017 · 1 comment · Fixed by #508 or #617

Comments

@vsavicks
Copy link
Contributor

vsavicks commented Dec 4, 2017

Using double type for monetary values can cause rounding error in arithmetic operations, hence a more suitable type is recommended, such an integer, long or java.math.BigDecimal.

@vsavicks
Copy link
Contributor Author

vsavicks commented Dec 4, 2017

A fix based on the java.math.BigDecimal and java.util.Currency is implemented in the pull request #371.

The recently accepted pull request #369 along with the pull request #371 should also close the issue #190 about the incomplete Media RSS support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants