VarDecInt3w
Usage
HRESULT VarDecInt
(
const DECIMAL* pDecIn,
DECIMAL* pDecOut
)
Overview
Return the integer portion of a DECIMAL.
Params
pDecIn [In] Source.
pDecOut [Out] Destination.
Returns
Success: S_OK.
Failure: DISP_E_OVERFLOW, if the value will not fit in the destination.
Notes
- The difference between this function and VarDecFix(3w) is that VarDecFix(3w) rounds negative numbers towards 0, while this function rounds them away from zero.
Implementation
Declared in "oleauto.h".
Implemented in "dlls/oleaut32/vartype.c".
Debug channel "variant".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.