According to this java.sun page == is the equality comparison operator for floating point numbers in Java.
==
However, when I type this code:
Here is a very long (but hopefully useful) discussion about this and many other floating point issues you may encounter: What Every Computer Scientist Should Know About Floating-Point Arithmetic