How to make number_format() not to round numbers up
<p>I would like to return a price using number_format(). </p>

<p>I have this number:</p>

<pre><code>$number = '10.594312';
</code></pre>

<p>And then I have its doube:</p>

<pre><code>$doube = '21.188624';
</code></pre>

<p>After using number_format($double, 2, ',', ' ') I get:</p>

<pre><code>21,19
</code></pre>

<p>But what I want to get is:</p>

<pre><code>21,18
</code></pre>

<p>Any ideea how can I make this work? </p>

<p>Thank you.</p>
