double x = 0.54;
double y = 0.06;
System.out.println("Dimmer: " + (x+y));
gives me the output:
Dimmer: 0.6000000000000001
Could someone elaborate this for me.
double x = 0.54;
double y = 0.06;
System.out.println("Dimmer: " + (x+y));
gives me the output:
Dimmer: 0.6000000000000001
Could someone elaborate this for me.