VarR8Round Function

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

HRESULT VarR8Round(  
  double    dblIn,         
  int       cDecimals,  
  double   *pdblResult
);

dblIn

[in] The variant of type double.

cDecimals

[in] The number of decimal places.

pdblResult

[out] Points to the result.

Show:
© 2014 Microsoft