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

Create a `Decimal32` closest to binary floating&hyphen;point `value`&period;

== Synopsis

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

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

== Return Value

a `Decimal32` closest to binary floating&hyphen;point `value`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| binary floating&hyphen;point value to convert
|===


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