table of contents
other versions
- wheezy 1.4.1-4
VarDecFix(3w) | Wine API | VarDecFix(3w) |
NAME¶
VarDecFix (OLEAUT32.187)SYNOPSIS¶
HRESULT VarDecFix(
const DECIMAL* pDecIn,
DECIMAL* pDecOut
)
DESCRIPTION¶
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 VarDecInt(3w) is that VarDecInt(3w) rounds negative numbers away from 0, while this function rounds them towards zero.IMPLEMENTATION¶
Declared in "oleauto.h". Implemented in "dlls/oleaut32/vartype.c". Debug channel "variant".Oct 2012 | Wine API |