title: jQuery parseFloat not working as expected
body: <p>all. I'm trying to change a string into a float so that it can be formatted as currency. Problem is, parseFloat keeps returning NaN. What am I missing? Here is the <a href="https://jsfiddle.net/ttyqaqde/" rel="nofollow">JSFiddle</a>.</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div class="value num"&gt;948572&lt;/div&gt;
  &lt;div class="value num"&gt;34567&lt;/div&gt;
  &lt;div class="value num"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>jQuery(document).ready(function($) {
    $('.value.num').each(function() {
      if( $(this).is(':empty')) {
        $(this).text('$0.00');
      } else {
        var numValue = Number.parseFloat($(this), 10);
        $(this).text('$' + (numValue / 100).toFixed(2));
      }
    });
  });
  </code></pre>