title: Undo javascript calculation with | 0 to round the number
body: <p>I have following table and JavaScript that calculates my temperature to farenheid.</p>
  
  <p>I want to toggle between celcius and Fahrenheit but obviesly if 
  i reverse the calculation after I round the number the temperature is different. </p>
  
  <p>I would like the original number back. I have About 200 different numbers all with the same class. I hope somone could help me. Thank you.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>function change_to_gf()
    {
  
    var myClasses = document.getElementsByClassName("a_e");
    for (var i = 0; i &lt; myClasses.length; i++)
      {
      myClasses[i].innerHTML = (((myClasses[i].innerHTML -32 ) / 1.8) | 0)
      }
   
    var myClasses = document.getElementsByClassName("a_mr");
    for (var i = 0; i &lt; myClasses.length; i++)
      {
      myClasses[i].innerHTML = (((myClasses[i].innerHTML -32 ) / 1.8 | 0))
      }
    }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;table style="width:920px;" align="center" id="sort1" data-name="mytable" class="4sort1"&gt;
    &lt;tr&gt;
      &lt;td style="width:60px;" class="a_e" id="exo_bist_e"/&gt;48
      &lt;td style="width:60px;" class="a_mr" id="exo_bist_mr"/&gt;52
    &lt;/tr&gt;
  &lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>