public class test {
public static void main(String[] args) {
System.out.println(0.3+0.6);
}
}
The output of the above java code is 0.8999999999999999. Why is that?
public class test {
public static void main(String[] args) {
System.out.println(0.3+0.6);
}
}
The output of the above java code is 0.8999999999999999. Why is that?