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

Convert a native decimal value to Binary Integral Decimal (BID) format&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalStorage/Type32.adoc[DecimalStorage::Type32]
convertToBID(xref:BloombergLP/bdldfp/DecimalImpUtil_IntelDfp/ValueType32.adoc[ValueType32] value);
----

== Description

Return a `DecimalStorage&colon;&colon;TypeXX` representing the specified `value` in Binary Integral Decimal (BID) format&period; This format is compatible with the Intel DFP implementation type&period;

== Return Value

BID&hyphen;encoded storage value

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| native decimal value
|===


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