MATLAB: Numerical issue in simple summation/addition

faq - probably our #1 faqnumerical errorsimple summation

below code prints 1. But if you have b = 0.2 at the second line, it does not print 1.
a = 0;
b = 0.1;
c = a;
while c < 1
c
c = c+b;
end