Java tutorial
public class Main { public static void main(String[] args) { Float floatObject1 = new Float("10.0001"); Float floatObject2 = Float.valueOf((float) 0.0 / (float) (0.0)); System.out.println(floatObject2); System.out.println(floatObject1.compareTo(floatObject2)); } }