Want to change this format $1,000,000 to 1000000 this
<p>Well i have calculator. In which i want to accept value in this <code>$1,000,000</code> format</p>

<p>so below are my codes want to know how to replace them using php</p>

<p>Live: <a href="http://ffsng.deewayz.in/index.php?v=1000000&amp;sv=1951153458" rel="nofollow">http://ffsng.deewayz.in/index.php?v=1000000&amp;sv=1951153458</a></p>

<p>I just want to know code to replace them with php this <code>$1,000,000</code> to this <code>1000000</code> and also if float can accept this value or have to change float to some other.</p>

<p>My HTML</p>

<pre><code>Enter Present Value of Pet: &lt;input type="text" name="v" value="1000000"/&gt;&lt;br&gt;
Enter value of pet you want: &lt;input type="text" name="sv" value="1951153458"/&gt;&lt;br&gt;
</code></pre>

<p>My PHP</p>

<pre><code>$v         = isset($_GET['v']) ? (float) $_GET['v'] : 1000000;
$sv        = isset($_GET['sv']) ? (float) $_GET['sv'] : 1951153458;
</code></pre>

<p>Thanks</p>
