[#BloombergLP-bdldfp-DecimalImpUtil-binaryToDecimal32-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil.adoc[DecimalImpUtil]::binaryToDecimal32
:relfileprefix: ../../../
:mrdocs:

`binaryToDecimal32` overloads

== Synopses

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

Return the 32&hyphen;bit decimal value closest to the specified `value`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[DecimalImpUtil::ValueType32]
xref:BloombergLP/bdldfp/DecimalImpUtil/binaryToDecimal32-07.adoc[binaryToDecimal32](double value);
----

[.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/binaryToDecimal32-07.adoc[_» more&period;&period;&period;_]#

Create a `Decimal32` object having the value closest to the specified `value` following the conversion rules as defined by IEEE&hyphen;754&colon;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[DecimalImpUtil::ValueType32]
xref:BloombergLP/bdldfp/DecimalImpUtil/binaryToDecimal32-00.adoc[binaryToDecimal32](float value);
----

[.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/binaryToDecimal32-00.adoc[_» more&period;&period;&period;_]#


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