BloombergLP::bdldfp::DecimalImpUtil::convertDPDtoBID

Convert Densely Packed Decimal dpd to the implementation type.

Synopses

Declared in <bdldfp_decimalimputil.h>

Convert Densely Packed Decimal dpd to the implementation type.

static
DecimalImpUtil::ValueType128
convertDPDtoBID(DecimalStorage::Type128 dpd);
» more...

Convert Densely Packed Decimal dpd to the implementation type.

static
DecimalImpUtil::ValueType32
convertDPDtoBID(DecimalStorage::Type32 dpd);
» more...

Convert Densely Packed Decimal dpd to the implementation type.

static
DecimalImpUtil::ValueType64
convertDPDtoBID(DecimalStorage::Type64 dpd);
» more...

Return Value

the corresponding implementation decimal value

Parameters

NameDescription
dpdvalue in Densely Packed Decimal format