multiplyByPowerOf10 overloads
Declared in <bdldfp_decimalutil.h>
Same as the related overload above for multiplyByPowerOf10.
static
Decimal128
multiplyByPowerOf10(
Decimal128 value,
int exponent);
» more...
Return value multiplied by ten raised to exponent.
static
Decimal32
multiplyByPowerOf10(
Decimal32 value,
int exponent);
» more...
Same as the related overload above for multiplyByPowerOf10.
static
Decimal64
multiplyByPowerOf10(
Decimal64 value,
int exponent);
» more...
value multiplied by ten raised to exponent
| Name | Description |
|---|---|
| value | decimal value to scale |
| exponent | power of ten applied to value |