System.JSON.JsonToFloat
Delphi
function JsonToFloat(const DotValue: string): Double;
C++
extern DELPHI_PACKAGE double __fastcall JsonToFloat(const System::UnicodeString DotValue);
Inhaltsverzeichnis
Eigenschaften
| Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
|---|---|---|---|---|
| function | public | System.JSON.pas System.JSON.hpp |
System.JSON | System.JSON |
Beschreibung
Gibt den angegebenen JSON-Gleitkommawert als Double zurück.
Wenn DotValue beispielsweise ein String ist, der 1.2 enthält, gibt JsonToFloat 1.2 zurück.
Exceptions
| Exception | Meldung | Szenarien |
|---|---|---|
|
' |
|