title: Variable loses characters after decimal points when added to string / passing to a file
body: <p>I have the code</p>
  
  <pre><code>total = parseFloat($(this).find('data').attr("total")),
  cnvtdtotal = total.toFixed(2),
  </code></pre>
  
  <p>Which takes the number (say, 345) and turns it into one with 2 decimals places (so, 345.00), which I then use to display in the DOM.</p>
  
  <p>Further down the JS file I create a file.</p>
  
  <p>When I add this to a string, and pass the string to create the file, the decimal points are lost again (so, as if I was using <code>total</code> instead of <code>cnvtdtotal</code>).</p>
  
  <pre><code>var file = [someOtherdata + '","' + andSomemore + '","' + cnvtdtotal +  '"',].join('\n');
  </code></pre>
  
  <p>How can I keep the 345.00 output in the file?</p>