round overloads
Declared in <bdldfp_decimalimputil.h>
Return x rounded to the nearest integral value.
static
DecimalImpUtil::ValueType128
round(ValueType128 x);
» more...
Return x rounded to the nearest integral value.
static
DecimalImpUtil::ValueType32
round(ValueType32 x);
» more...
Return x rounded to the nearest integral value.
static
DecimalImpUtil::ValueType64
round(ValueType64 x);
» more...
Return x rounded to the specified precision.
static
ValueType128
round(
ValueType128 x,
unsigned int precision);
» more...
Return x rounded to the specified precision.
static
ValueType32
round(
ValueType32 x,
unsigned int precision);
» more...
Return x rounded to the specified precision.
static
ValueType64
round(
ValueType64 x,
unsigned int precision);
» more...
x rounded to the nearest integral valuex rounded to the specified precision| Name | Description |
|---|---|
| x | value to round |
| precision | number of digits after the decimal point |