Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Currency Arithmetic Functions [Automation]

The currency arithmetic functions are described in the following table:

Currency Arithmetic Functions

Descriptions

VarCyAdd

Returns the sum of two variants of type currency.

VarCyMul

Returns the result of multiplying two variants of type currency.

VarCyMulI4

Returns the result of multiplying a variant of type currency by a variant of type long.

VarCyMulI8

Returns the result of multiplying a currency value by an INT64.

VarCySub

Returns the result of subtracting two variant of type currency.

VarCyAbs

Returns the absolute value of a currency.

VarCyFix

Returns the integer portion of a variant of type currency.

VarCyInt

Returns the integer portion of a variant of type currency.

VarCyNeg

Performs logical negation on a variant of type currency.

VarCyRound

Rounds a variant of type currency to the specified number of decimal places.

VarCyCmp

Compares two variants of currency types.

VarCyCmpR8

Compares a variant of type currency with a value of type double.

Show:
© 2015 Microsoft