Einzelnen Beitrag anzeigen

Benutzerbild von Uwe Raabe
Uwe Raabe

Registriert seit: 20. Jan 2006
Ort: Lübbecke
11.024 Beiträge
 
Delphi 12 Athens
 
#5

AW: FormatFileSize

  Alt 27. Jul 2018, 15:23
Mit Format geht das wohl nicht, wohl aber mit FormatFloat:

result := Format('%s %s' [FormatFloat('0.##', _size, TFormatSettings.Invariant), s]);
Uwe Raabe
Certified Delphi Master Developer
Embarcadero MVP
Blog: The Art of Delphi Programming
  Mit Zitat antworten Zitat