title: Math in Javascript to Node.js produces false output
body: <p>Here's what I'm doing.</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>    var str_1 = parseInt("2200")
      var str_2 = parseInt("200")
     
      var output = str_1 + str_2
          
      var a = output;
      var b = 10
      var c = (parseFloat(a)*parseFloat(b))/100;
      var results  = parseFloat(c);
  
      console.log("the result: " + results);
          
      var final_output = str_2 - results
          
      console.log("Completion: " + final_output);</code></pre>
  </div>
  </div>
  </p>
  
  <p>Console logs: </p>
  
  <pre><code>[Log] the result: 240 
  [Log] Completion: -40 
  </code></pre>
  
  <p>Correct. Exactly expected output but doing the same thing in NodeJS yields the following output </p>
  
  <pre><code>[Log] the result: 260 
  [Log] Completion: -60
  </code></pre>
  
  <p>Not the same as my Javascript result.</p>
  
  <h3>UPDATE</h3>
  
  <p>Just for this question i used plain numbers, </p>
  
  <pre><code>    var str_1 = 2200
      var str_2 = 200
  
      var output = str_1 + str_2
  
      var a = output;
      var b = 10
      var c = (parseFloat(a)*parseFloat(b))/100;
      var results  = parseFloat(c);
  
      console.log("the result: " + results);
  
      var final_output = str_2 - results
  
      console.log("Completion: " + final_output);
  </code></pre>
  
  <p>Well, still gives the incorrect output. What to do here?</p>
  
  <blockquote>
    <p>I'm trying to take 10% off of <code>output</code> so <code>b</code> is the percent here, and then. <code>str_2 - results</code></p>
  </blockquote>