You are reading a single comment by @d0773d and its replies. Click here to read the full conversation.
  • Gordon, your example worked. I echoes out, for example, 24.91330565947488295819 I was able to convert C to F by this:

    var tempinc = (vOut - vZero) / tCoeff;
      var tempinf = tempinc * (9 / 5) + 32;

    Is there anyway to change the decimal place to just two digits after the decimal?


Avatar for d0773d @d0773d started