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

`binaryToDecimal128` overloads

== Synopses

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

Convert the specified binary floating&hyphen;point `value` to decimal128&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil_IntelDfp/ValueType128.adoc[DecimalImpUtil&lowbar;IntelDfp::ValueType128]
xref:BloombergLP/bdldfp/DecimalImpUtil_IntelDfp/binaryToDecimal128-0d.adoc[binaryToDecimal128](double value);
----

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

Create a `Decimal128` 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_IntelDfp/ValueType128.adoc[DecimalImpUtil&lowbar;IntelDfp::ValueType128]
xref:BloombergLP/bdldfp/DecimalImpUtil_IntelDfp/binaryToDecimal128-09.adoc[binaryToDecimal128](float value);
----

[.small]#xref:BloombergLP/bdldfp/DecimalImpUtil_IntelDfp/binaryToDecimal128-09.adoc[_» more&period;&period;&period;_]#


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