Delphi is very useful and fast in developing desktop applications. You will find that you can develop desktop applications very quickly after your Delphi studies and research. You can benefit from the examples on our site, you can experience support by writing comments on the subject under the subject.


With Delphi we can share some useful codes for you to develop desktop applications. To write Delphide numbers with commas, you can use the FormatFloat function.


The number is shown as 12.345.678 or 12.345.678 according to your windows setting.


procedure TForm1.Button1Click(Sender: TObject);
var   i : integer;
begin   i := 12345678;
Memo1.Lines.Add(FormatFloat('#,', i));
end;