When you assign a real number to a double variable, Java puts in
Though that sounds a little crazy – Java cuts off the number? – it's really that we've programmed computers to act like we do.
1/3 as a decimal?
0.3333333 ... right? Like humans, the computer ran out of space to track all those trailing 3s, so it cuts them off after 8 bytes, hoping that's precise enough for you.