title: Php "round" function , not working as expected?
body: <p>I'm trying to round up the value if it has cents, for example:</p>
  <p><code>69990</code> to be <code>70000</code>, I'm working on none USD currency, I've tried many answers in the community, I couldn't make it work .</p>
  <p>My example code :</p>
  <pre><code>$gg = rtrim(number_format(69990, 1), '.');
  echo $gg . &quot;\n &lt;br /&gt;&quot;;
  echo round($gg , 2, PHP_ROUND_HALF_UP);
  echo  &quot;\n &lt;br /&gt;&quot;;
  echo number_format($gg,2);
  </code></pre>
  <p>And the output is :</p>
  <pre><code>69,990.0
   &lt;br /&gt;69
   &lt;br /&gt;69.00
  </code></pre>