You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Put an X between the brackets on this line if you have done all the following:
[X ] Reproduced the problem or exposed a new need
[X ] Checked the GitHub existing issues
Description
When working with monetary amounts in Java it is recommended to avoid the use of Long or Double as they may introduce rounding issues. BigDecimal is the recommended type for monetary amounts. Explanation can be found here
Steps to Reproduce
Expected behavior:
Amount values parsing to BigDecimal from Json.
Actual behavior:
Double being used.
Reproduces how often:
Every time as it is in all the classes.
Versions
Latest
The text was updated successfully, but these errors were encountered:
Prerequisites
Put an X between the brackets on this line if you have done all the following:
Description
When working with monetary amounts in Java it is recommended to avoid the use of Long or Double as they may introduce rounding issues. BigDecimal is the recommended type for monetary amounts. Explanation can be found here
Steps to Reproduce
Expected behavior:
Amount values parsing to BigDecimal from Json.
Actual behavior:
Double being used.
Reproduces how often:
Every time as it is in all the classes.
Versions
Latest
The text was updated successfully, but these errors were encountered: