title: To round a value to one decimal place in codeigniter
body: <pre><code>$E15 =  $objWorksheet-&gt;getCell('E15')-&gt;getCalculatedValue();
  $asa_impact = round(($E15*100),1);
  </code></pre>
  
  <p>when I use the above code I get answer for ex:-6.6</p>
  
  <pre><code>$E16 =  $objWorksheet-&gt;getCell('E16')-&gt;getCalculatedValue();
  $abandon_impact = round(($E16*100),1);
  </code></pre>
  
  <p>But when I use the above code I get the answer for ex:-8.6999999999
  I need to fix the issue.</p>