Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   Type Double zu Type String (https://www.delphipraxis.net/44810-type-double-zu-type-string.html)

Tigermoon 25. Apr 2005 10:50


Type Double zu Type String
 
Hallo

Gibt es eine Möglichkeit einen Double Type in einen String Type zu konvertieren?
für integer (z.B.) ist es ja
IntToStr();

Danke Steffi

JasonDX 25. Apr 2005 10:51

Re: Type Double zu Type String
 
Delphi-Referenz durchsuchenfloatToStr dürfte da sein, was du suchst ;)

geht für alle Gleitkommazahlenwerte

Kroko1999 25. Apr 2005 11:02

Re: Type Double zu Type String
 
weitere Möglichkeiten wären

Str + F1
FloatToStrF + F1


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:29 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz