Am i missing something in my php code?
<p>I have this codes and the issue is its starting giving output from <code>$2,147,483,647</code>where as i have set <code>3000000000</code> that is <code>$3,000,000,000</code></p>

<p>and i want out from what we set there in form but if we choose higher <code>$2,147,483,647</code> it start from <code>$2,147,483,647</code></p>

<p>Here is live demo : <a href="http://deewayz.in/demo/" rel="nofollow">http://deewayz.in/demo/</a></p>

<p>Here are my codes.</p>

<pre><code>$v         = isset($_GET['v']) ? (int) $_GET['v'] : 3000000000;
</code></pre>

<p>first time it give correct. but when we change value in form it gives wrong out put.</p>

<p>for example check this : <a href="http://deewayz.in/demo/index.php?v=3100000000&amp;sv=5" rel="nofollow">http://deewayz.in/demo/index.php?v=3100000000&amp;sv=5</a></p>

<p>thanks in advance :)</p>

<p><strong>solved:</strong></p>

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