[#BloombergLP-bdldfp-DecimalConvertUtil-decimalFromBID-0c5]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalConvertUtil.adoc[DecimalConvertUtil]::decimalFromBID
:relfileprefix: ../../../
:mrdocs:

`decimalFromBID` overloads

== Synopses

Declared in `&lt;bdldfp&lowbar;decimalconvertutil&period;h&gt;`

Same as the overload taking `Decimal32`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdldfp/DecimalConvertUtil/decimalFromBID-0d.adoc[decimalFromBID](
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128]* decimal,
    unsigned char const* buffer);
----

[.small]#xref:BloombergLP/bdldfp/DecimalConvertUtil/decimalFromBID-0d.adoc[_» more&period;&period;&period;_]#

Store into `decimal` the value decoded from BID data at `buffer`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdldfp/DecimalConvertUtil/decimalFromBID-0ce.adoc[decimalFromBID](
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32]* decimal,
    unsigned char const* buffer);
----

[.small]#xref:BloombergLP/bdldfp/DecimalConvertUtil/decimalFromBID-0ce.adoc[_» more&period;&period;&period;_]#

Same as the overload taking `Decimal32`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdldfp/DecimalConvertUtil/decimalFromBID-05.adoc[decimalFromBID](
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64]* decimal,
    unsigned char const* buffer);
----

[.small]#xref:BloombergLP/bdldfp/DecimalConvertUtil/decimalFromBID-05.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *decimal*
| receives the decoded value
| *buffer*
| buffer containing a BID&hyphen;encoded value
|===


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