VarDecRound Function

Rounds a variant of type decimal to the specified number of decimal places.

HRESULT VarDecRound(
    [in]  LPDECIMAL  pdecIn,
    [in]  INT        cDecimals,
    [out] LPDECIMAL  pdecResult
);

Term

Definition

pdecIn

[in] Points to the decimal to be rounded.

cDecimals

[in] The number of decimal places.

pdecResult

[out] Points to the result, a variant of type decimal.

Show:
© 2014 Microsoft