I have two variables:
result = 121.0 # initialized in code, assigned in loop
dd = -121.0 # value returned from result of function
So, when I do
result += dd
result becomes 2.84217094304e-14 (name of this representation of numbers and algorithm of reading is welcome)
But when I assign same values in python console - it returns proper result - 0.0
What is the problem?