VarDecRound3w
Usage
HRESULT VarDecRound
(
const DECIMAL* pDecIn,
int cDecimals,
DECIMAL* pDecOut
)
Overview
Change the precision of a DECIMAL.
Params
pDecIn [In] Source.
cDecimals [In] New number of decimals to keep.
pDecOut [Out] Destination.
Returns
Success: S_OK. pDecOut contains the rounded value.
Failure: E_INVALIDARG if any argument is invalid.
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.