[#BloombergLP-bdldfp-DecimalImpUtil-binaryToDecimal64-09]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil.adoc[DecimalImpUtil]::binaryToDecimal64
:relfileprefix: ../../../
:mrdocs:

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

== Synopses

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

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


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

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

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[DecimalImpUtil::ValueType64]
xref:BloombergLP/bdldfp/DecimalImpUtil/binaryToDecimal64-0e.adoc[binaryToDecimal64](float value);
----

[.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/binaryToDecimal64-0e.adoc[_» more&period;&period;&period;_]#

== Return Value

a `Decimal64` 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]#
