As the value is multiplied by 10^decimals overflow errors may occur with very large numbers. You should anticipate and trap these errors.
| Name | Type | Optional | ByRef | Description |
|---|---|---|---|---|
| value | Double | The raw/ unrounded Double value. | ||
| decimals | Integer | Optional | The number of decimal places to round to. If omitted, a value of 16 is assumed. |
Returns a Double value.