BloombergLP::bdldfp::DecimalUtil::round

Same as the related overload above for round.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
Decimal64
round(Decimal64 x);

Return Value

integral value nearest to x

Parameters

NameDescription
xvalue to round to nearest integral decimal