title: Retain 2 decimal points on float when converting to string delphi
body: <p>I'm adding lines to a memo box from a sql query dataset. The data is being added using the <code>memo1.lines.add</code> function looping through the dataset </p>
  
  <pre><code>memo1.Clear;
  frmMain.Query2.Open;
  try
    while not frmMain.Query2.Eof do
    begin
      memo1.Lines.Add(frmMain.Query2.FieldByName('mass').AsString);
      frmMain.Query2.Next;
    end;
  finally
    frmMain.Query2.Close;
  end;
  </code></pre>
  
  <p>Everething from this point is working fine, the only problem is that because the data is being converted into string format is loses the trailing 0 .ie</p>
  
  <pre><code>Float value = 40.50  String Value = 40.5 .
  Float value = 42.40  String Value = 42.4 .
  Float value = 40.53  String Value = 40.53 .
  </code></pre>
  
  <p>Is there any way this could be rectified? FormatFloat doesn't want to format it because it's not a float anymore. StrtoInt doesn't work because of the 3 sting values in the memobox. </p>