Why the first statement return true, and the second return false, isn´t it supposed to be equal, what can i do to bypass this program, i really need this
System.out.println(0.99951f == 0.9995f); //true
System.out.println(0.999f + 0.0005 == 0.9995f); //false