VarDecCmp function (oleauto.h)
Compares two variants of type decimal.
Syntax
HRESULT VarDecCmp(
[in] LPDECIMAL pdecLeft,
[in] LPDECIMAL pdecRight
);
Parameters
[in] pdecLeft
The first variant.
[in] pdecRight
The second variant.
Return value
This function can return one of these values.
Return code/value | Description |
---|---|
|
pdecLeft is less than dblRight. |
|
The two parameters are equal. |
|
pdecLeft is greater than dblRight. |
|
Either expression is null. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oleauto.h |
Library | OleAut32.lib |
DLL | OleAut32.dll |