Autor Beitrag
Fabian W.
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1766

Win 7
D7 PE
BeitragVerfasst: So 20.03.05 11:35 
Hallo,
ich suche eine praktische Möglichkeit, wie ich nach einem Rechenvorgang, der zum Beispiel mehrere Preise addiert hat, die Endsumme (1,5 / 1,25 / 1) auf zwei Nachkommastellen auffüllt egal wie die Endsumme aussieht (1,50 / 1,25 / 1,00).
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: So 20.03.05 11:47 
Hallo,

das:
ausblenden Delphi-Quelltext
1:
showmessage(FormatFloat('0.00'1.5));					

MfG Lannes
Fabian W. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1766

Win 7
D7 PE
BeitragVerfasst: So 20.03.05 12:56 
Perfekt, danke dir! :D