System.Variant.operator %=
C++
Variant& __fastcall operator %=(const Variant& rhs);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | sysvari.h | System | Variant |
Description
Returns this Variant as the remainder from dividing its original value and the Variant specified by rhs.
The actual types of the Variants determine the meaning of this operation. If the Variants can be converted to types that make sense for the given operation, the assignment is performed. If any of these operations is not possible because of an invalid variant type conversion, an System.SysUtils.EVariantError exception is thrown.
Note: Do not call the %= operator directly. It is an overload of the compiler operation.
Variant a, b; a %= b;