System.JSON.Types.TJsonDecimal128

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

TJsonDecimal128 = record

C++

struct DECLSPEC_DRECORD TJsonDecimal128
{
public:
    typedef System::UnicodeString __fastcall (__closure *TDec128ToString)(const TJsonDecimal128 &ADec);
    typedef bool __fastcall (__closure *TStringToDec128)(const System::UnicodeString AStr, TJsonDecimal128 &ADec);
public:
    static TDec128ToString FDec128ToString;
    static TStringToDec128 FStringToDec128;
    static _DELPHI_CONST System::Int8 MaxStrLen = System::Int8(0x2a);
private:
    System::UnicodeString __fastcall GetAsString();
    void __fastcall SetAsString(const System::UnicodeString Value);
    System::Extended __fastcall GetAsExtended();
    void __fastcall SetAsExtended(const System::Extended Value);
    bool __fastcall GetIsNan();
    bool __fastcall GetIsNegInfinity();
    bool __fastcall GetIsPosInfinity();
    bool __fastcall GetIsZero();
public:
    unsigned __int64 lo;
    unsigned __int64 hi;
    __fastcall TJsonDecimal128(const System::UnicodeString AValue)/* overload */;
    __fastcall TJsonDecimal128(const System::Extended AValue)/* overload */;
    __property bool IsNan = {read=GetIsNan};
    __property bool IsPosInfinity = {read=GetIsPosInfinity};
    __property bool IsNegInfinity = {read=GetIsNegInfinity};
    __property bool IsZero = {read=GetIsZero};
    __property System::UnicodeString AsString = {read=GetAsString, write=SetAsString};
    __property System::Extended AsExtended = {read=GetAsExtended, write=SetAsExtended};
    TJsonDecimal128() {}
};

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
record
struct
public
System.JSON.Types.pas
System.JSON.Types.hpp
System.JSON.Types System.JSON.Types


Beschreibung

Der Typ TJsonDecimal128 bietet Unterstützung für die Behandlung von Decimal128-Daten in JSON.

RAD Studio unterstützt die Verwendung von TJsonDecimal128 über den MongoDB-Datenbanktreiber, FireDAC.
FireDAC bietet einen integrierten Mechanismus, der mit Decimal128-Datentypen von MongoDB arbeitet.
Verwenden Sie die Decimal128-Datentypen über die MongoDB-Unterstützung von FireDAC.

Siehe auch