quantize overloads
Synopses
Declared in <bdldfp_decimalutil.h>
Same as the related overload above for quantize.
static
Decimal128
quantize(
Decimal128 value,
Decimal128 exponent);
Same as the overload taking Decimal64.
static
Decimal128
quantize(
Decimal128 value,
int exponent);
Return value with the same quantum as exponent.
Return value with the specified decimal exponent.
Same as the related overload above for quantize.
Same as the related overload above for quantize.
Return Value
-
valuewith the same quantum asexponent -
valuewith the specified decimalexponent
Parameters
Name |
Description |
value |
decimal value to quantize |
exponent |
value whose quantum supplies the desired exponent |
Created with MrDocs