In Chrome developer tools, manipulating values like code below:
var total=0;
total+=32;
total+=11.2;
total+=3.2;
the result I am getting is:
46.400000000000006
i am confused, why is the 6 added at the end?
In Chrome developer tools, manipulating values like code below:
var total=0;
total+=32;
total+=11.2;
total+=3.2;
the result I am getting is:
46.400000000000006
i am confused, why is the 6 added at the end?