System.JSON.FloatToJson
Delphi
function FloatToJson(const Value: Double): string;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall FloatToJson(const double Value);
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | public | System.JSON.pas System.JSON.hpp |
System.JSON | System.JSON |
Beschreibung
Gibt den angegebenen Gleitkommawert im JSON-Format zurück.
Wenn Value
beispielsweise 1.2
ist, gibt FloatToJson einen String zurück, der 1.2
enthält.