Expand Minimize

VarDecInt function

Retrieves the integer portion of a variant of type decimal.

Syntax


HRESULT VarDecInt(
  _In_   LPDECIMAL pdecIn,
  _Out_  LPDECIMAL pdecResult
);

Parameters

pdecIn [in]

The decimal variant.

pdecResult [out]

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

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Header

OleAuto.h

Library

OleAut32.lib

DLL

OleAut32.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft