Bigdecimal, Java.
As a result, the right answer is 0.4. However, this is the response that our system provides. Isn’t this not the exact answer you calculated? There is a reason for this: when a computer must use floating-point numbers, it encounters a problem. The term for this is “Floating-Point Rounding Error.”