The reason it does that is because of the way floating point numbers are represented. If you want to really understand why it's that result, you can look at Floating point - Wikipedia, the free...