In java while add the float number a and b getting wrong output.
Float a = 39.97757f;
Float b = 59.96636f;
System.out.println(a+b);
getting output as 99.943924 instead of 99.94393
In java while add the float number a and b getting wrong output.
Float a = 39.97757f;
Float b = 59.96636f;
System.out.println(a+b);
getting output as 99.943924 instead of 99.94393