title: (PHP) How to avoid scientific notation and show the actual large numbers?
body: <p>I have been working with the PHP code that the expected result will become :</p>
  
  <blockquote>
    <p>1
    <br>101
    <br>10001
    <br>1000001
    <br>100000001
    <br>10000000001
    <br>1000000000001
    <br>100000000000001
    <br>10000000000000001
    <br>1000000000000000001</p>
  </blockquote>
  
  <p><br>
  finally the output was :</p>
  
  <blockquote>
    <p>1
    <br>101
    <br>10001
    <br>1000001
    <br>100000001
    <br>10000000001
    <br>1000000000001 &nbsp;&nbsp;&nbsp;&nbsp;// (1 billion) <strong>to</strong> (100 billion - 1) still showing the actual number, and then
    <br>1.0E+14
    <br>1.0E+16
    <br>1.0E+18</p>
  </blockquote>
  
  <p><br>I've found some solutions there! they said by using <strong>sprintf</strong> or trying <strong>format_number</strong>. I tried both.
  <br><br>using <strong>sprintf</strong> and the result :</p>
  
  <pre><code>$format_x = sprintf("%.0f ",$x);
  echo $format_x.$br;
  </code></pre>
  
  <blockquote>
    <p>1
    <br>101
    <br>10001
    <br>1000001
    <br>100000001
    <br>10000000001
    <br>1000000000001
    <br>100000000000001
    <br>10000000000000000
    <br>1000000000000000000</p>
  </blockquote>
  
  <p><br>using <strong>format_number</strong> and the result :</p>
  
  <pre><code>echo number_format($x, 0).$br;
  </code></pre>
  
  <blockquote>
    <p>1
    <br>101
    <br>10,001
    <br>1,000,001
    <br>100,000,001
    <br>10,000,000,001
    <br>1,000,000,000,001
    <br>100,000,000,000,001
    <br>10,000,000,000,000,000
    <br>1,000,000,000,000,000,000</p>
  </blockquote>
  
  <p><br>but it still doesn't show the actual large numbers. well, the two ways was looks good but it doesn't fit with what i want. does anyone can resolve this?</p>