![]() |
FormatFloat problem :)
hi, was ist hier falsch? :)
Delphi-Quellcode:
lrabatt hat nen gleitkommawert gespeichert...
lblliefererrabatt.Caption := FloattoStr(FormatFloat('0,00', lrabatt)+' €';
|
Re: FormatFloat problem :)
Punkt statt Komma!
Delphi-Quellcode:
lblliefererrabatt.Caption := FloattoStr(FormatFloat('0.00', lrabatt)+' €';
|
Re: FormatFloat problem :)
daran liegts leider nicht^^
--> [Fehler] Unit1.pas(203): Es gibt keine überladene Version von 'FloatToStr', die man mit diesen Argumenten aufrufen kann |
Re: FormatFloat problem :)
Delphi-Quellcode:
Doppelt gemoppelt hält nicht besser :wink:
lblliefererrabatt.Caption := FormatFloat('0.00', lrabatt)+' €';
|
Re: FormatFloat problem :)
dankesehr :)
ich war die ganze zeit im glauben das ich mit formatfloat nur die formatierung mach ;D |
Re: FormatFloat problem :)
Hallo arcangel,
wenn Du auch die Tausendertrennzeichen haben willst dann so:
Delphi-Quellcode:
Bis bald Chemiker
lblliefererrabatt.Caption := FormatFloat('###,.00', lrabatt)+' €';
|
Re: FormatFloat problem :)
alles klar, vielen dank, problem gelöst :)
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:08 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz