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
Usually if you are dealing with money, it is recommended to use BigDecimal instead of double. It is a bit slower, but provides a far more accuracy when you are doing calculations.
Usually if you are dealing with money, it is recommended to use BigDecimal instead of double. It is a bit slower, but provides a far more accuracy when you are doing calculations.
https://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html