SysUtilsFormatFloat (C++)
Description
The following example displays in a dialog the free disk space of the current drive, with commas as thousand separators.
Code
void __fastcall TForm1::Button1Click(TObject *Sender)
{
ShowMessage(FormatFloat("#,##0 bytes", DiskFree(0)));
}
Uses
- System.SysUtils.FormatFloat ( fr | de | ja )
- System.SysUtils.DiskFree ( fr | de | ja )