ArithmeticException thrown during BigDecimal.divide
If this is not the right answer, what CAN we use for exact division in financial calculation? (I mean, I don’t have a finance major, but they still use division, right???). Then I was in primary school1, they taught me that when you divide by 1 by 3 you get a 0.33333… i.e. a recurring … Read more