Windows apps
Collapse the table of content
Expand the table of content

VarCyRound Function

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

HRESULT VarCyRound(  
  CY    cyIn, 
  int   cDecimals,  
  LPCY  pcyResult
);

cyIn

[in] The variant of type currency.

cDecimals

[in] The number of currency decimals.

pcyResult

[out] Points to the result currency variant.

Show:
© 2017 Microsoft