title: Covert digit to x.xx format in php
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/6044815/simple-regex-in-php-formatting-decimal-number">simple regex in php, formatting decimal number</a>  </p>
  </blockquote>
  
  
  
  <p>How to convert a digit in x format to x.xx format in php?
  example : 
  I have a number 5. Need to convert to 5.00</p>