Same as the related overload above for quantize.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
Decimal128
quantize(
    Decimal128 value,
    Decimal128 exponent);

Return Value

value with the same quantum as exponent

Parameters

Name

Description

value

decimal value to quantize

exponent

value whose quantum supplies the desired exponent

Created with MrDocs