BloombergLP::bdldfp::DecimalImpUtil::scaleB

Return value multiplied by ten raised to exponent.

Synopsis

Declared in <bdldfp_decimalimputil.h>

static
DecimalImpUtil::ValueType128
scaleB(
    ValueType128 value,
    int exponent);

Return Value

value multiplied by ten raised to exponent

Parameters

NameDescription
valuevalue to scale
exponentpower of ten applied to value