1. Non-terminating decimal expansion; no exact representable decimal result stackoverflow.com
Is it illegal to do the above operation. Why is that?
|
2. Non-terminating decimal expansion; no exact representable decimal result forums.oracle.comI am using the BigDecimal to represent an amount of money. I am doing some calculations that includes divide so I am getting an error : "Non-terminating decimal expansion; no exact representable decimal result". So I read I have to round the result because I am getting a number like 18.8888888....infinite decimals. But I dont want to round this result because ... |