As stated by the other responders, this is the result of real number
approximation in a binary machine. Found in Java, C++, etc. as well as C#.
Here are some articles that you may find interesting:
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.