Windows apps
Collapse the table of content
Expand the table of content

Variant Arithmetic Functions [Automation]

The variant arithmetic functions are described in the following table.

Variant Arithmetic Functions

Descriptions

VarAbs

Returns the absolute value of a variant.

VarAdd

Returns the sum of two variants.

VarAnd

Performs a bitwise AND operation between two variants of any integral type.

VarCat

Concatenates two variants and returns the result.

VarCmp

Compares two variants.

VarDiv

Returns the result from dividing two variants.

VarEqv

Performs a bitwise equivalence on two variants.

VarFix

Returns the integer portion of a variant.

VarIdiv

Divides two variants as integers.

VarImp

Performs a logical implication on two variants.

VarInt

Returns the integer portion of a variant.

VarMod

Divides two variants and returns only the remainder.

VarMul

Returns the result from multiplying two variants.

VarNeg

Performs logical negation on a variant.

VarNot

Performs the binary negation operation on a variant.

VarOr

Performs a logical disjunction on two variants.

VarPow

Performs the power function on two variants and returns the result.

VarRound

Rounds a variant to the specified number of decimal places.

VarSub

Returns the result from subtracting two variants.

VarXor

Performs the binary XOR comparison operation on two variants.

Show:
© 2017 Microsoft