Return x rounded to the specified precision.
Synopsis
Declared in <bdldfp_decimalimputil.h>
static
ValueType128
round(
ValueType128 x,
unsigned int precision);
Return Value
x rounded to the specified precision
Parameters
Name |
Description |
x |
value to round |
precision |
number of digits after the decimal point |
Created with MrDocs