[jQuery] Convert Text to Int

[jQuery] Convert Text to Int


Here's my faulty code:
var temp parseInt($('td#totalPriceData_1').text());
alert(temp);
Here's what my HTML looks like:
<td id="totalPriceData_1" class="totalPriceData">
                                        $7.95
                                    </td>
Why does alert(temp) show me NaN for this temp var?
What is a better way to convert this text to a int?