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

Decimal Arithmetic Functions [Automation]

The decimal arithmetic functions are described in the following table:

Decimal Arithmetic Functions

Descriptions

VarDecDiv

Returns the result of dividing two variants of type decimal.

VarDecAdd

Returns the sum of two variants of type decimal.

VarDecMul

Returns the result of multiplying two variants of type decimal.

VarDecSub

Returns the result of subtracting two variants of type decimal.

VarDecAbs

Returns the absolute value of a variant of type decimal.

VarDecFix

Returns the integer portion of a variant of type decimal.

VarDecInt

Returns the integer portion of a variant of type decimal.

VarDecNeg

Performs logical negation on a variant of type decimal.

VarDecRound

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

VarDecCmp

Compares two variants of type decimal.

VarDecCmpR8

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

Show:
© 2015 Microsoft