BloombergLP::bdldfp::DecimalImpUtil::lround

Return x rounded to the nearest long int.

Synopses

Declared in <bdldfp_decimalimputil.h>

Return x rounded to the nearest long int.

static
long
lround(ValueType128 x);
» more...

Return x rounded to the nearest long int.

static
long
lround(ValueType32 x);
» more...

Return x rounded to the nearest long int.

static
long
lround(ValueType64 x);
» more...

Return Value

x rounded to the nearest long int

Parameters

NameDescription
xvalue to round