title: Default Number of Decimal Places to Output in PHP
body: <p>I do my php work on my dev box at home, where I've got a rudimentary LAMP setup.  When I look at my website on my home box, any numbers I echo are automatically truncated to the least required precision.  Eg 2 is echoed as 2, 2.2000 is echoed as 2.2.</p>
  
  <p>On the production box, all the numbers are echoed with at least one unnecessary zero, eg 100 becomes 100.0.  On both boxes, the PHP version is 5.2.5.  Does anyone know offhand if there is a setting I can change which will force PHP to automatically remove any unnecessary zeroes?  I don't want to have to go to every place in my code where I output a number and replace echo with printf or something like that.</p>
  
  <p>Muchas gracias.</p>