VarDecFix Function

Returns the integer portion of a variant of type decimal.

HRESULT VarDecFix(  
  LPDECIMAL  pdecIn,         
  LPDECIMAL  pdecResult
);

pdecIn

[in] Points to the decimal variant.

pdecResult

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

If the value of the variant is negative, then the first negative integer greater than or equal to the variant is returned.

Show:
© 2014 Microsoft