Hallo,
eine Einfache möglichkeit bitet
Quelltext
1:
| function FloatToStr(Value: Extended): string; |
aus der Unit
Sysutils. Wesentlich mehr einflusnehmen kannst du aber bei der Funktion
Quelltext
1:
| function Format(const Format: string; const Args: array of const): string; |
aus der selben unit. Über den Formatstring kannst du (neben einem beschreibenen Text) auch dinge wie die nachkommastellen festlegen oder das Ergebnis auch Hexadezimal ausgeben. Auch das umwandeln von mehreren Werten ist möglich.
Genaueres zu den Funktionen findest du wie üblich in der Online-Hilfe.
Gruß
Klabautermann