• I'm honestly surprised at the number of people here who were not aware of the approximate nature of IEEE floating-point numbers. That information was in every programming class I took and every programming book I read. (It's even in BOL: http://msdn.microsoft.com/en-us/library/ms187912.aspx -- read the "Using float and real Data" section).

    As a result, the first choice I was immediately able to eliminate was the "correct" one. I have to admit, though: I didn't want to go throught the same level of work as Scott did (great explanation, by the way); nor did I want to "cheat" by copy-paste-execute, so I guessed (correctly, as it turned out).

    This is not a criticism of anyone's knowledge -- it is instead a vote of applause for this question. It brings out a limitation of a commonly-used data type, of which many were not aware. This is an example of a question that both tests and educates.

    Plus, it reinforces my natural instinct to avoid float whenever possible...:-P