BloombergLP::bdldfp::DecimalImpUtil::quantize

Return value with the quantum of exponent.

Synopsis

Declared in <bdldfp_decimalimputil.h>

static
DecimalImpUtil::ValueType64
quantize(
    ValueType64 value,
    ValueType64 exponent);

Return Value

value with the quantum of exponent

Parameters

NameDescription
valuevalue to quantize
exponentvalue supplying the target quantum