have faced below problem while writing query, not sure why it is happening Please find the below example
SELECT 21000.000000/22000.000000 * 22000.000000
sql engine result is 20999.999999999999990000000
But if you do the same through calculator, we will be getting 21000. Why is it like this? and how to achieve the calculator result with out rounding off