title: divide two values derived from html tags
body: <p>I need to get the average of two user defined numbers. However when you input a decimal the division function does not work, as if it get ignored.  </p>
  
  <p>Here is my javascript:</p>
  
  <pre><code>var boxamnt = "tempvalue for amount of boxes will change this later as needed";
    var x = parseInt(document.getElementById('value1').value);
    var y = parseInt(document.getElementById('value2').value);
    var abc = x + y;
    var total = abc/"2.00000000000000";
    alert(total);
  </code></pre>
  
  <p>Here is my form:</p>
  
  <pre><code> First value: &lt;input type="number" name="FirstValue" placeholder="Number" id="value1" step=".00000000000000"&gt;&lt;br&gt;
    Second value: &lt;input type="number" name="NextValue" placeholder="Number" id="value2" step=".00000000000000"&gt;&lt;br&gt;
  </code></pre>