title: JavaScript: How to convert an HTML string into a JavaScript number?
body: <p>I have a number that I need to pull from my html:</p>
  
  <pre><code>&lt;span&gt;123,456.78&lt;/span&gt;
  </code></pre>
  
  <p>How can I convert this string into a number that I can do math on?</p>
  
  <pre><code>var numberString = $('span').text();
  var realNumber = Number(numberString); //returns NaN
  </code></pre>
  
  <p>A jQuery-only solution would be okay.</p>