I was going to calculate BMI with javascript code in which I've created two variables named height and weight.
You may know the formula of getting the BMI is, BMI = Weight(kg) / (Height(m))^2;
but I got right answer only after writing Height*Height. height*height gives exact answer but height^2 gives answer with rounded-off value.
So I want to know why the operator or symbol "^" is rounding off the value that I want to square.