title: Is there a way to multiply inputs when they begin with a decimal like this- .125 or even 0.7854... My result winds up being 0 or NaN
body: <p>I need some insight again. I am trying to multiply three inputs times two hidden numbers. Two inputs being the same number (since i have yet to figure out how to Square a input). The calculation i am after is a Force calc we use in O&amp;G. Wire diameter * Wire Diameter * Well Head Pressure * .7854(variable)  * 1.5;; Eg. .125 * .125 * 6500 * .7854 * 1.5; Which should result in 119.65 (lbs)- instead i get NAN or if i use decimal like this 0.125 i get a result of 0. To Note the function works if i leave the decimal out all together but the answer is wrong naturally.  </p>
  
  <p>My Code </p>
  
  <pre><code>       &lt;div class="containerForce"&gt;
              &lt;p&gt;
                &lt;h1&gt;Force Calculation - Weight Required to Fall&lt;/h1&gt;
                &lt;label&gt;Wire OD&lt;/label&gt;
                &lt;input type="number" id="num05"&gt;
                &lt;label&gt;Wire OD&lt;/label&gt;
                &lt;input type="number" id="num06"&gt;
                &lt;label&gt;Well Head Pressure&lt;/label&gt;
                &lt;input type="number" id="num07"&gt;
              &lt;p&gt;
                  &lt;input type="button" id="btn01" style="background-color: rgb(104, 199, 206)"
                   value="Required Weight" onclick="cal()" /&gt;
              &lt;/p&gt;
                &lt;p id="total3"&gt;&lt;/p&gt;
          &lt;/div&gt;     
  </code></pre>
  
  <p>Java Function</p>
  
  <pre><code> function cal() {
      var numZero5 = document.getElementById('num05').value;
      var numZero6 = document.getElementById('num06').value;
      var numZero7 = document.getElementById('num07').value;
      var total3 = parseInt(numZero5) * parseInt(numZero6) * parseInt(numZero7) * .7854 * 1.5;
      var p = document.getElementById('total3');
      p.innerHTML += total3;
    }
  </code></pre>