title: PHP: Round a number upto 2 decimal places and if the number is a whole number then add trailing zeros
body: <p><strong>Question</strong></p>
  
  <pre><code>    $number = 153.78999
      $rounded_value = round($number,2);
  
      $rounded_value will be 153.79
  </code></pre>
  
  <p>What i want is if </p>
  
  <pre><code>    $number = 153
  </code></pre>
  
  <p>then </p>
  
  <pre><code>    $rounded_value = 153.00
  </code></pre>
  
  <p>Thanks.</p>