Currency Math in JavaScript
<p>Can someone please help me out with a JavaScript/jQuery solution for this arithmetic problem:</p>

<p>I need to subtract one number from the other.  </p>

<p>The problem is that the numbers have a dollar sign (because its money), therefore jQuery is treating them as strings instead of numbers.</p>

<p>I have created two variables - <code>toalAssets</code> and <code>totalLiabilites</code>.  I would like to subtract the latter from the former and place the result into another variable called <code>netWorth</code>.</p>

<p>Perhaps i need to use <code>parseFloat()</code>?  </p>

<p>But I'm not sure how - This is all a little over my head!</p>
