Remove number formatting from a string
<p>The following code will turn 1000 into 1,000:</p>

<pre><code>$price = '1000';
$price2 = number_format($price);
echo $price2;
</code></pre>

<p>How would I turn 1,000 into 1000? I'm guessing it would be something along the lines of this:</p>

<pre><code>$price = '1,000';
$price2 = remove_format($price);
echo $price2;
</code></pre>