VarDecInt function (oleauto.h)
Retrieves the integer portion of a variant of type decimal.
Syntax
HRESULT VarDecInt(
[in] LPDECIMAL pdecIn,
[out] LPDECIMAL pdecResult
);
Parameters
[in] pdecIn
The decimal variant.
[out] pdecResult
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
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oleauto.h |
Library | OleAut32.lib |
DLL | OleAut32.dll |