HI i am seeing a weird behavior of "-" operator in javaScript for the following equation
currVal = currVal-1;
here for the value of currVal
=2.3 the equation is giving result as 1.2999999999999998 & similarly for 1.4 its giving 0.3999999999999999