EFreeMemory.Text := FormatFloat( '########,### KB', ms.dwAvailPhys / 1024 );
Microsoft AX 2012, X++, C#, SQL server, SSRS, Java, JavaFX, Oracle, PL/SQL, Delphi - codes examples, step-by-step tutorials, experiences.
Showing posts with label delphi - FormatFloat(). Show all posts
Showing posts with label delphi - FormatFloat(). Show all posts
Wednesday, November 29, 2017
DELPHI - How format float value to string
Saturday, November 25, 2017
DELPHI - How get total physical memory and memory in use
LPhysMem: TLabel; LMemoryInUse: TLabel; MS : TMemoryStatus; ... GlobalMemoryStatus( MS ); LPhysMem.Caption := FormatFloat( '#,###" KB"', MS.dwTotalPhys / 1024 ); LMemoryInUse.Caption := Format( '%d %%', [ MS.dwMemoryLoad ] );
It shows for example:
Subscribe to:
Posts (Atom)
