NAME

VarDecRound  (OLEAUT32.203)

SYNOPSIS

 HRESULT VarDecRound
 (
  const DECIMAL* pDecIn,
  int            cDecimals,
  DECIMAL*       pDecOut
 )

DESCRIPTION

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 "include/oleauto.h". gitlab.winehq.org/wine/wine/blob/master/include/oleauto.h

Implemented in "dlls/oleaut32/vartype.c". gitlab.winehq.org/wine/wine/blob/master/dlls/oleaut32/vartype.c

Debug channel "variant".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.