.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH VarRound 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBVarRound\fR (OLEAUT32.175) .SH SYNOPSIS HRESULT VarRound ( LPVARIANT \fIpVarIn\fR, int \fIdeci\fR, LPVARIANT \fIpVarOut\fR ) .SH DESCRIPTION .PP Perform a round operation on a variant. .SH PARAMS \fIpVarIn\fR \fB[In]\fR Source variant. .PP \fIdeci\fR \fB[In]\fR Number of decimals to round to. .PP \fIpVarOut\fR \fB[Out]\fR Destination for converted value. .PP .SH RETURNS .PP \fBSuccess:\fR \fBS_OK\fR. \fIpVarOut\fR contains the converted value. .PP \fBFailure:\fR An \fBHRESULT\fR error code indicating the error. .SH NOTES .PP \fB-\fR Floating point values are rounded to the desired number of decimals. .PP \fB-\fR Some integer types are just copied to the return variable. .PP \fB-\fR Some other integer types are not handled and fail. .SH IMPLEMENTATION .PP Declared in \fB"oleauto.h"\fR. .PP Implemented in \fB"dlls/oleaut32/variant.c"\fR. .PP Debug channel \fB"variant"\fR.