[#BloombergLP-bdldfp-DecimalConvertUtil_IntelDfp-decimalToDouble-07]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp.adoc[DecimalConvertUtil&lowbar;IntelDfp]::decimalToDouble
:relfileprefix: ../../../
:mrdocs:

`decimalToDouble` overloads

== Synopses

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

Same as the related overload above for `decimalToDouble`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
double
xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimalToDouble-0e.adoc[decimalToDouble](xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] decimal);
----

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

Return a `double` object having the value closest to the value of the specified `decimal` object following the conversion rules defined by IEEE&hyphen;754&colon;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
double
xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimalToDouble-08.adoc[decimalToDouble](xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] decimal);
----

[.small]#xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimalToDouble-08.adoc[_» more&period;&period;&period;_]#

Same as the related overload above for `decimalToDouble`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
double
xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimalToDouble-00.adoc[decimalToDouble](xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] decimal);
----

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


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