BloombergLP::bdldfp::DecimalUtil::floor

Same as the related overload above for floor.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
Decimal128
floor(Decimal128 x);

Return Value

largest integral value that is not greater than x

Parameters

NameDescription
xvalue to round toward -infinity