title: I want to convert decimal value round up in PHP?
body: <p>I know this is basic questing but I am unable to convert the value.
  Example :
  I need roundup values like 0.09 to 9</p>
  <pre><code>.09 = 9
  .01 = 1
  .5 = 50
  </code></pre>
  <p>I am trying this</p>
  <pre><code>number_format((float)0.09, 3, '.', '')
  </code></pre>
  <p>output is <strong>0.090</strong></p>
  <p>How does Excel convert 0.0988325 into 9.88%?</p>
  <p><a href="https://i.stack.imgur.com/nvNHE.png" rel="nofollow noreferrer">Excel Screenshot</a></p>