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