title: How to show prices as million and thousands format?
body: <p>I have the following prices.</p>
  
  <ul>
  <li>14,500,000</li>
  <li>1,800,000</li>
  </ul>
  
  <p>How these prices can be shown as millions and thousands in PHP ?</p>
  
  <p>I want to have a user defined function to show these values as millions and thousands format as these prices will be dynamic.</p>
  
  <p><b>Updated</b></p>
  
  <p>I want to show the above values as:</p>
  
  <ol>
  <li>14,500,000 will be as 14 millions and 500 thounsands</li>
  <li>1,800,000 will be as 1 million and 800 thounsands.</li>
  </ol>
  
  <p>So anyone can tell me how it can done so ?</p>
  
  <p>Thanks.</p>