title: Opencart round price
body: <p>I have to round up all the prices of <code>Opencart</code>. I used the method <code>round()</code> on function <code>calculate ()</code> in system / library and it works well. 
  The problem is in the <code>total</code> that is not based on the prices rounded, but on the real ones. How can I fix this?</p>
  
  <p>This is my code in tax.php:</p>
  
  <pre><code>public function calculate($value, $tax_class_id, $calculate = true) {
      if ($tax_class_id &amp;&amp; $calculate) {
          $amount = $this-&gt;getTax($value, $tax_class_id);
          return round($value + $amount);
      }else{
          return round($value);
      }
  }
  </code></pre>