title: PHP number formatting when less than 1mb
body: <p>Hope someone can figure this one out.</p>
  
  <p>I'm using this to display the filesizes of several files in a folder...</p>
  
  <pre><code>number_format (round (filesize($currentfile) /1048576)) . "mb"
  </code></pre>
  
  <p>...which displays my file names like this:</p>
  
  <p>27mb<br>
  35mb<br>
  10mb  </p>
  
  <p>etc.</p>
  
  <p>But, if the filesize is less than 1mb, it displays onscreen as:</p>
  
  <p>0mb</p>
  
  <p>How can I modify the PHP so that if it encounters a 250k file for example, it shows displays as ".25mb"?</p>
  
  <p>Thanks in advance.</p>