Autor Beitrag
schitho
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 288

XP Home SP2
D2005 Prof
BeitragVerfasst: Di 23.11.04 22:08 
Hi,

ich habe eine sehr große Zahl (INT64) und möchte diese mit einem 1000er-Punkt formatieren. Wie geht das?

Gruß
Thomas


Moderiert von user profile iconTino: Topic aus VCL (Visual Component Library) verschoben am So 28.11.2004 um 22:11

_________________
(Sorry! Leider ewiger Delphi-Neuling)
Sprint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 849



BeitragVerfasst: Di 23.11.04 22:24 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
var
  Value: Int64;
  FormatSet: TFormatSettings;
begin
  Value := 1234567890;
  FormatSet.ThousandSeparator := ',';
  ShowMessage(FormatFloat('#,##', Value, FormatSet));
end;

_________________
Ciao, Sprint.