Table 3.3

 

Decimal arithmetic and logical functions available in f90VB

 

f90VB Function Name

Description

VariantDecDiv

Returns the result of dividing two variants of type decimal

VariantDecAdd

Returns the sum of two variants of type decimal

VariantDecMul

Returns the result of multiplying two variants of type decimal

VariantDecSub

Returns the result of subtracting two variants of type decimal

VariantDecAbs

Returns the absolute value of a variant of type decimal

VariantDecFix

Returns the integer portion of a variant of type decimal

VariantDecInt

Returns the integer portion of a variant of type decimal

VariantDecNeg

Performs logical negation on a variant of type decimal

VariantDecRound

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

VariantDecCmp

Compares two variants of type decimal

VariantDecCmpR8

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