jrough wrote:0.7 + 0.1 = 0.8
This is true on paper, but not in a computer's memory - see dagon's post.
This statement is incorrect. The result of this equation will be a float, since 0.8 is a float. Then again, your script above never carries out this operation to begin with - it actually does something like 0.799999999 10, which is, of course, 7.99999999.
EDIT: By the way, this whole discussion reminds me about movies like Office Space. :p