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

Uses Currency/BigDecimal for the Price tag in Media RSS #371

Closed
wants to merge 1 commit into from

Conversation

vsavicks
Copy link
Contributor

@vsavicks vsavicks commented Dec 4, 2017

Price tag in Media RSS module was implemented using a java.lang.String for the currency and java.lang.Double for the price value, which is not recommended for monetary data (causes rounding error). This fix refactors the Price tag to use java.util.Currency for the currency code (as recommended by the ISO 4217) and java.math.BigDecimal for the price value.

@mishako
Copy link
Member

mishako commented Dec 19, 2017

This change is not backward-compatible. Not sure what to do about it.

@PatrickGotthard PatrickGotthard force-pushed the master branch 10 times, most recently from 26b8e6d to c56c4a4 Compare November 10, 2018 15:37
@PatrickGotthard PatrickGotthard force-pushed the master branch 2 times, most recently from 2152ca9 to 04c8e79 Compare June 28, 2020 12:32
@vsavicks vsavicks closed this Sep 16, 2020
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