BloombergLP::bdldfp::DecimalImpUtil::floor

Return the largest integral value not greater than x.

Synopsis

Declared in <bdldfp_decimalimputil.h>

static
DecimalImpUtil::ValueType64
floor(ValueType64 x);

Return Value

the largest integral value not greater than x

Parameters

NameDescription
xvalue to round toward -infinity