OK, works, I knew this custom function already but it doesn't work if you define variables as double and use numbers as 128.105, 138.105, 139.105, etcccc, with 127.105, 126.105, etccc works fine. I suppose that this is a bug (with this custom function) of int and fix functions because if you...