How can I set default input value to 0.00 in php?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4483540/php-show-a-number-to-2-decimal-places">PHP: show a number to 2 decimal places</a>  </p>
</blockquote>



<p>How can I format an input number to be 0.00 if it has not any value? I tried (double) but it prints 0 only.</p>
