Styling a decimal number with PHP
<p>Just a little bit stuck, trying to find the right fucntion to use:</p>

<pre><code>$number = "4.999";
echo number_format($number, 2); //5.00
</code></pre>

<p>We want it to display as <code>4.99</code> - what PHP function should we use which won't round anything, just purely limit the numbers after the decimal point to two?</p>

<p>Thank you</p>
