javascript - Weird Assignment IDE Warning -
i'm developing html5 canvas application. it's required work on mobile devices. 1 of features bmi calculation this:
javascript code:
bmi = refweight / ((refheight/ 100)*(refheight/ 100)) ;
netbeans (7.3) gives me warning, saying: "weird assingnment"
i know can use math.pow();
here, alteratinos code breaks code on mobile devices.
is there proper way that?
btw, formula bmi is:
it's bug (which believe fixed in version 8).
a weird assignment hint appears when developer writes code looks this:
x = x;
as can see, code unnecessary , doesn't change anything.
Comments
Post a Comment