Autor Beitrag
prime60
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26



BeitragVerfasst: Di 31.07.07 00:20 
wie kann ich tausender stellen machen?
zb 1000 -> 1.000

mfg prime
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Di 31.07.07 01:06 
Sieh dir mal Format an, damit geht das relativ einfach, es sieht nur so kompliziert aus am Anfang ;-).
www.dsdt.info/tipps/?id=151
alzaimar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2889
Erhaltene Danke: 13

W2000, XP
D6E, BDS2006A, DevExpress
BeitragVerfasst: Di 31.07.07 07:31 
FormatFloat finde ich hier einfacher:

ausblenden Delphi-Quelltext
1:
FormatFloat ('0,0.00',12345.6789);					


liefert '12.345,67' und für 0.12345 den String '0.12'. Die Möglichkeiten für die Formatierung von Zahlen sind hier besser. Zuden entsprechen die Formatstrings denen der TFields.

_________________
Na denn, dann. Bis dann, denn.