title: Delphi - how do you format a real number with leading zeros?
body: <p>I need to format a real number with leading zeros in the whole number part prior to the decimal point.  I know how to achieve this with integers, but the syntax for reals escapes me.</p>
  
  <pre><code>Number  := 1.234 ;
  SNumber := Format ('%2.3f', [Number]) ;
  </code></pre>
  
  <p>This gives <code>SNumber = ' 1.234'</code> but I want <code>'01.234'</code>.  <code>Number</code> is always 0..99.999</p>