Same as the related overload above for round.
Declared in <bdldfp_decimalutil.h>
static
Decimal128
round(
Decimal128 x,
unsigned int precision);
x rounded to the specified number of decimal places
| Name | Description |
|---|---|
| x | value to round |
| precision | number of decimal places to round to |