Share via


Currency Arithmetic Functions

The currency arithmetic functions are described in the following table.

In this section

Topic Description
VarCyAbs
Retrieves the absolute value of a variant of type currency.
VarCyAdd
Adds two variants of type currency.
VarCyCmp
Compares two variants of type currency.
VarCyCmpR8
Compares a variant of type currency with a value of type double.
VarCyFix
Retrieves the integer portion of a variant of type currency.
VarCyInt
Retrieves the integer portion of a variant of type currency.
VarCyMul
Multiplies two variants of type currency.
VarCyMulI4
Multiplies a currency value by a 32-bit integer.
VarCyMulI8
Multiplies a currency value by a 64-bit integer.
VarCyNeg
Performs a logical negation on a variant of type currency.
VarCyRound
Rounds a variant of type currency to the specified number of decimal places.
VarCySub
Subtracts two variants of type currency.

Conversion and Manipulation Functions