System.Internal.VarHlpr.VariantMod2
Delphi
function VariantMod2(const V1: Variant; const V2: Variant): Variant;
C++
extern DELPHI_PACKAGE System::Variant __fastcall VariantMod2(const System::Variant &V1, const System::Variant &V2);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Internal.VarHlpr.pas System.Internal.VarHlpr.hpp |
System.Internal.VarHlpr | System.Internal.VarHlpr |
Description
Returns the remainder on division of two Variants.
VariantMod2 calculates the remainder on division of V1 by V2 and returns a new Variant holding the result.
The input values must be convertible to integer numerical types; otherwise an EVariantTypeCastError exception will be raised.