BloombergLP::bdldfp::DecimalImpUtil::int32ToDecimal128

Return a Decimal128 representation of value.

Synopsis

Declared in <bdldfp_decimalimputil.h>

static
DecimalImpUtil::ValueType128
int32ToDecimal128(int value);

Return Value

a Decimal128 representation of value

Parameters

NameDescription
valueinteger value to convert