System.Internal.VarHlpr.VariantMod

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure VariantMod(const src: Variant; var dst: Variant);

C++

extern DELPHI_PACKAGE void __fastcall VariantMod(const System::Variant &src, System::Variant &dst);

Properties

Type Visibility Source Unit Parent
procedure
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.

VariantMod calculates the remainder on division of src by dst and returns the result as dst.

The input values must be convertible to integer numerical types; otherwise an EVariantTypeCastError exception will be raised.

See Also