title: Adding percentage - need to make into price
body: <p>I am using the following code to add VAT (20%) on to prices.</p>
  
  <pre><code>$VATrate = 20;
  
  echo($row_products['price'] *= (1 + $VATrate / 100));
  </code></pre>
  
  <p>This works well except for when the price has a zero on the end - for example I have an item with ex. VAT price of £249 with VAT added the price is £298.80 - the problem is that the output of that is £249.8 and therefore missing the zero - I don't want to go and add a zero to everything as some prices are £29.95 so do not need a zero on the end.</p>
  
  <p>Is it possible to do this? I hope the question makes sense.</p>