Hi i am having some problem.
let say i have this value,
double amount = 1000;
if I divide this 1000 with 12, i will have 833.33333333333
so, what i do is i round it with 2 decimal point, to become 833.33
but when end of the day, i want to sum up all the 833.33, means 833.33 * 12, i will only get 9999.96, lost 0.04
How can i resovle this issues?? Can i use BigDecimal?? If yes, how can i apply the technique to sovle this issues?