I am pretty new, so what I found might not be a bug, but instead an intended behaviour. I use a list to store numbers for later processing. It seems that my list treats non-integer number wrong. Here the code:
‘’’
myList =
s = {minval: 1.1e-3, maxval: 8.4e-3}
myList << s
s = myList(0)
diff = s.maxval - s.minval
print "via list: " + s.maxval + " - " + s.minval + " = " + diff
print "directly: 8.4e-3 - 1.1e-3 = " + str(8.4e-3 - 1.1e-3)
pause
‘’’
when using list elements for calculation (here a diffenrence) the result is wrong. The result is correct, when only integer values are used. My version is 12.33