RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
VarHlpr.VariantMod Function

Returns the remainder on division of two Variants.

Pascal
procedure VariantMod(const src: Variant; var dst: Variant);
C++
VariantMod(const Variant src, Variant dst);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!