Forum Discussion

leonk's avatar
leonk
New Contributor
15 years ago

Testing inequality

I have the following code to test if a reading is within +/-25% of the expected value. function testWithinLimits() {    var expectedVal = 200;    var ErrorInPercent = 25;    va...