Windows Dev Center

VarDecInt Function

Returns the integer portion of a variant of type decimal.

HRESULT VarDecInt(  
  LPDECIMAL  pdecIn,         
  LPDECIMAL  pdecResult
);

pdecIn

[in] Points to the decimal variant.

pdecResult

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

If variant is negative, then the first negative integer less than or equal to the variant is returned.

Show:
© 2015 Microsoft