title: PHP, Prevent from removing leading zeros
body: <p>I have an array of numbers from 5 to 6.4 but the numbers are relating to feet and inches and I am using them for calculation.</p>
  
  <p>When I come to use 5.10 it removes the zero and I have the same output as though it was 5.1.</p>
  
  <p>Is there anyway to prevent PHP removing the 0. I presume it does some sort of default casting.</p>
  
  <p>Thanks in advance</p>