Subtract 1 from a large number in PHP
<p>I need to subtract 1 from the number <code>294867828828426241</code> in PHP. However when I do </p>

<pre><code>$a = 294867828828426241 - 1;
</code></pre>

<p>I receive the floating point number <code>2.94867828828E+17</code>. Which, when resolved by <code>number_format()</code> gives the original number.</p>

<p>How can i get the correct value, please?</p>

<p>This needs to be able to be able work with different numbers.</p>
