MATLAB: Mis match in comparing the values

compare int valuesfaq 6.1int mismatchmismatch

Hello all,
a=1.3;
b=0.1+0.2+0.2+0.3+0.3+0.1+0.1;
If I perform a==b, then I am getting the result 0(means both are not equal).
But actually they are equal(Both has a value of 1.3)
What's going wrong here? Plz let me know….
Best Regards,
Raghavendra
Related Question