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 | Decimal | The raw/ unrounded Decimal value. | ||
| decimals | Integer | Optional | The number of decimal places to round to. If omitted, a value of 28 is assumed. |
Returns a Decimal value.