Return x rounded to the specified precision.
Declared in <bdldfp_decimalimputil.h>
static
ValueType64
round(
ValueType64 x,
unsigned int precision);
x rounded to the specified precision
| Name | Description |
|---|---|
| x | value to round |
| precision | number of digits after the decimal point |