BloombergLP::bdldfp::DecimalUtil::lround

Same as the related overload above for lround.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
long
lround(Decimal64 x);

Return Value

integral value nearest to x as a long int

Parameters

NameDescription
xvalue to round to nearest long int