public class Main{
public static void main(String[] args) {
float x = 59;
float n = 100;
System.out.println((x/n) * 100);
}}
Why does this give 58.999996?
public class Main{
public static void main(String[] args) {
float x = 59;
float n = 100;
System.out.println((x/n) * 100);
}}
Why does this give 58.999996?