I am using python3.9 and trying to calculate the following:
17.36-14.76. It is a pretty easy calculation and the output should be 2.6 without any other additional digits.
However, in python3.9 I get the following output:
>>> 17.36-14.76
2.5999999999999996
I know, I can round the result to get the desired output. However, I don't understand why it calculates it in a weird manner because 17.36-14.76 IS NOT 2.5999999999999996, 17.36-14.76 is 2.6.
Are there some weird settings python?