Same as the related overload above for quantizeEqual.
Synopsis
Declared in <bdldfp_decimalutil.h>
static
int
quantizeEqual(
Decimal128* x,
Decimal128 y,
int exponent);
Return Value
0 on success and a non‐zero value otherwise
Parameters
Name |
Description |
x |
receives the quantized value on success |
y |
value to quantize into |
exponent |
desired decimal exponent |
Created with MrDocs