This is purely an educational question.
I'm working on a new version of a web app that the company I'm working for had made earlier. when re-writing the math, I came across this:
document.getElementById("estResidual").value-0;
Thinking there was no purpose for the "-0", I removed it. But when I tried the calculations, the numbers were waaayyyyyy off. Then I tried re-adding the "-0", and voila! everything worked nicely.
The Question: What did the "-0" do to change the value?
+ 0it might still look like a concatenation. There is no confusion with the minus.