Thema: Delphi Single und FloatToStr

Einzelnen Beitrag anzeigen

Klaus01

Registriert seit: 30. Nov 2005
Ort: München
5.755 Beiträge
 
Delphi 10.4 Sydney
 
#2

Re: Single und FloatToStr

  Alt 12. Aug 2009, 14:01
Hallo,

kannst Du nicht FlaotToStrF nutzen:

Zitat:
FloatToStrF converts the floating-point value given by Value to its string representation.
The Value parameter is the value to convert.
The Precision parameter specifies the precision of the given value.
It should be 7 or less for values of type Single, 15 or less for values of type Double, and 18 or less for values of type Extended.
Grüße
Klaus
Klaus
  Mit Zitat antworten Zitat