VarDecAdd Function

Returns the sum of two variants of type decimal.

HRESULT VarDecAdd(  
  LPDECIMAL  pdecLeft,         
  LPDECIMAL  pdecRight,  
  LPDECIMAL  pdecResult
);

pdecLeft

[in] Points to the first variant of type decimal.

pdecRight

[in] Points to the second variant of type decimal.

pdecResult

[out] Points to the result, a variant of type decimal.

Show: