Hello. Some integers can't be set to floating point numbers and be represented as integers on computers--I don't know if that is the problem here. In general when I check for equality with a floating point I use a range. If you know a floating point is supposed to be an int you can round before checking too. Of course, I can see how that is a pain here esp if it worked before.
yours
winkr7