convert number from 12 to 12.00
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5648205/in-php-how-to-print-a-number-with-2-decimals-but-only-if-there-are-decimals-al">In PHP, how to print a number with 2 decimals, but only if there are decimals already?</a>  </p>
</blockquote>



<p>Brothers I want to convert me any way I entered into a text field automatically turns
12 to 12.00</p>

<p>How possible work by php and javascript</p>

<p>Thanks</p>
