Liquid XML Data Binder (C++, Java, VB6) / Reference / C++ / Reference / CDecimal / C++ operator[] - CBinaryData
In This Topic
    C++ operator[] - CBinaryData
    In This Topic
    CDecimal& operator = (const CDecimal&);
    CDecimal& operator += (const CDecimal&);
    CDecimal& operator -= (const CDecimal&);
    CDecimal& operator *= (const CDecimal&);
    CDecimal& operator /= (const CDecimal&);
    CDecimal& operator -- ();
    CDecimal& operator ++ ();
    CDecimal operator -- (int);
    CDecimal operator ++ (int);
      Property Description  
        Method Name    
        Argument - roLN The other half of the expression  
        Description Allows operators to be used against a Decimal object  
        Returns Returns the result of the operation  
        Remarks These operations are not supported. They have been tested and to the best of our knowledge are correct, but large integer & decimal arithmetic is a specialized area, and outside the scope of this product.  
        Example

    CDecimal biA(55);
    CDecimal biB(45);
    CDecimal biResult;

    biResult = biA + biB;
    biResult = biA - biB;
    biResult = biA / biB;
    biResult = biA * biB;

    // inplace operations
    biA += biB;
    biA -= biB;
    biA /= biB;
    biA *= biB;

    biA++;
    ++biA;
    biA--;
    --biA;