DVARIANT.Roundmethod
Rounds a variant to the specified number of decimal places.
Syntax
FUNCTION Round (BYREF dv AS DVARIANT, BYVAL cDecimals AS LONG) AS DVARIANT
Parameters
| Name | Description | |
|---|---|---|
dv | The DVARIANT to round. | |
cDecimals | The number of decimal places. |
Return value
A DVARIANT containing the rounded result.
Description
Rounds a variant to the specified number of decimal places.
Reference
- Include file
DVARIANT.INC - Defined in AfxNova/DVARIANT.inc:2333
- Documented in COM/DVARIANT Class.md
- Topic: DVARIANT Class