VarRound (OLEAUT32.175)
HRESULT VarRound ( LPVARIANT pVarIn, int deci, LPVARIANT pVarOut )
Perform a round operation on a variant.
pVarIn | [In] | Source variant. |
deci | [In] | Number of decimals to round to. |
pVarOut | [Out] | Destination for converted value. |
Success: S_OK. pVarOut contains the converted value.
Failure: An HRESULT error code indicating the error.
- Floating point values are rounded to the desired number of decimals.
- Some integer types are just copied to the return variable.
- Some other integer types are not handled and fail.
Declared in "include/oleauto.h". gitlab.winehq.org/wine/wine/blob/master/include/oleauto.h
Implemented in "dlls/oleaut32/variant.c". gitlab.winehq.org/wine/wine/blob/master/dlls/oleaut32/variant.c
Debug channel "variant".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.