Use PHP to round floats that aren't like 1.05
<p>Is it possible to round a number where if it's .5, just leave it, anything below .5 round down, anything above .5 round up? </p>

<p>For example:</p>

<ul>
<li><code>5.0 * 1.35 = 6.75 // leave it</code></li>
<li><code>5.2 * 1.35 = 7.02 // round down to 7.00</code></li>
<li><code>5.5 * 1.35 = 7.56 // round up to 8.00</code></li>
</ul>

<p>I've formatted with <code>round($n,0, PHP_ROUND_HALF_UP)</code> where $n is the product from the above calc , which leaves 6.75 but returns 7.02 for the next one. I also tried <code>round($n,-1, PHP_ROUND_HALF_UP)</code> which gives me the 7.00 on the second calc but then of course won't return a 6.75  for the first, instead it returns 680. </p>

<p>This is a ticket markup calculation where the user enters the first number and is multiplied by the second. I actually remove the decimal because they don't want to see it, and they want this sort of customized rounding on the result. </p>
