Windows apps
Collapse the table of content
Expand the table of content

VarDecFix Function

Returns the integer portion of a variant of type decimal.

HRESULT VarDecFix(  
  LPDECIMAL  pdecIn,         
  LPDECIMAL  pdecResult


[in] Points to the decimal variant.


[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.

© 2017 Microsoft