title: how can i format numbers in a php array?
body: <p>Im putting values into an array.
  example values:</p>
  
  <pre><code>14
  15.1
  14.12
  </code></pre>
  
  <p>I want them all to have 2 decimals.
  meaning, i want the output of the array to be</p>
  
  <pre><code>14.00
  15.10
  14.12
  </code></pre>
  
  <p>How is this easiest achieved?
  Is it possible to make the array automatically convert the numbers into 2 decimalplaces?
  Or do I need to add the extra decimals at output-time?</p>