title: PHP Number format as Output
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5722588/format-number-in-php">Format number in PHP</a>  </p>
  </blockquote>
  
  
  
  <p>I want my number format <code>12 char in length</code>, like if there is value <code>12</code> it should output     <code>000000000012</code></p>
  
  <p>Example: if value is <code>123.50</code> it should output <code>000000012350</code> No decimal (multiple of 100) </p>
  
  <p>Any idea, which function will be used?</p>
  
  <p>Thanks !</p>