-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Prerequisites
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
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request