According to this java.sun page == is the equality comparison operator for floating point numbers in Java.
==
However, when I type this code:
You can use Float.floatToIntBits().
Float.floatToIntBits(sectionID) == Float.floatToIntBits(currentSectionID)