Formatiert einen Zahlenwert als Zeichenkette.
Signatur #
function FormatFloat(Format: String; Value: float): String;
Parameter #
| Name | Typ | Modifier | Beschreibung |
|---|---|---|---|
Format |
String |
value |
Parameter Format der Scriptfunktion FormatFloat. |
Value |
float |
value |
Parameter Value der Scriptfunktion FormatFloat. |
Rueckgabewert #
String – Rueckgabewert der Scriptfunktion FormatFloat.
Beschreibung #
Die Funktion formatiert den uebergebenen Zahlenwert mit dem angegebenen Format.
Beispiele #
Beispiel #
var
ResultValue: String;
begin
ResultValue := FormatFloat('', 0.0);
end;
Kategorie: Strings
