Same as the overload taking Decimal64.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
Decimal128
quantize(
    Decimal128 value,
    int exponent);

Return Value

value with the specified decimal exponent

Parameters

Name

Description

value

decimal value to quantize

exponent

desired decimal exponent

Created with MrDocs