[#BloombergLP-bdldfp-DecimalImpUtil_IntelDfp-convertDPDtoBID-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil_IntelDfp.adoc[DecimalImpUtil&lowbar;IntelDfp]::convertDPDtoBID
:relfileprefix: ../../../
:mrdocs:

Convert a Densely Packed Decimal (DPD) value to BID encoding&period;

== Synopsis

Declared in `&lt;bdldfp&lowbar;decimalimputil&lowbar;inteldfp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil_IntelDfp/ValueType32.adoc[DecimalImpUtil&lowbar;IntelDfp::ValueType32]
convertDPDtoBID(xref:BloombergLP/bdldfp/DecimalStorage/Type32.adoc[DecimalStorage::Type32] dpd);
----

== Description

Return a `ValueTypeXX` representing the specified `dpd`, which is currently in Densely Packed Decimal (DPD) format&period; This format is compatible with the IBM compiler&apos;s native type&period;

== Return Value

native BID&hyphen;encoded decimal value

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dpd*
| DPD&hyphen;encoded storage value
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
