Variant Arithmetic Functions
The variant arithmetic functions are described in the following table.
In this section
Topic | Description |
---|---|
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 |
Converts two variants of any type to integers then returns the result from dividing them. |
VarImp |
Performs a bitwise 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 bitwise not negation operation on a variant. |
VarOr |
Performs a logical disjunction on two variants. |
VarPow |
Returns the result of performing the power function with two variants. |
VarR4CmpR8 |
Compares two variants of types float and double. |
VarR8Pow |
Performs the power function for variants of type double. |
VarR8Round |
Rounds a variant of type double to the specified number of decimal places. |
VarRound |
Rounds a variant to the specified number of decimal places. |
VarSub |
Subtracts two variants. |
VarXor |
Performs a logical exclusion on two variants. |