VarCyInt function
Retrieves the integer portion of a variant of type currency.
Syntax
HRESULT VarCyInt( _In_ CY cyIn, _Out_ LPCY pcyResult );
Parameters
- cyIn [in]
-
The currency variant.
- pcyResult [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 |
|
|---|---|
|
Library |
|
|
DLL |
|
Show: