number_format issue with rounding up decimal
<p>I have the following php code in two different pages </p>

<pre><code>number_format($reporttotaldetuctmargin,2, '.', ',')
</code></pre>

<p>and actual value for both reporttotaldetuctmargin is 54604.785.</p>

<p>The problem I am having is one page giving result of 54604.78 and the other page giving 54604.79 ... The actual value for both page are float value.</p>

<p>Any idea ?</p>
