I can't understand why first print is 0.9999999999999 and second is 2.0.
public static void main(String[] args) {
double value = 0.9999999999999999;
System.out.println(value);
value = 1.9999999999999999;
System.out.println(value);
}