SysUtilsFormatFloat (Delphi)
Description
The following example displays in a dialog the disk free space of the current drive with commas as thousand separators.
Code
procedure TForm1.Button1Click(Sender: TObject);
begin
ShowMessage(FormatFloat('#,##0 bytes', DiskFree(0)));
end;
Uses
- System.SysUtils.FormatFloat ( fr | de | ja )
- System.SysUtils.DiskFree ( fr | de | ja )