[#BloombergLP-bdldfp-DecimalImpUtil-convertToDecimal128-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil.adoc[DecimalImpUtil]::convertToDecimal128
:relfileprefix: ../../../
:mrdocs:

Convert `input` to the closest `ValueType128` value&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType128.adoc[DecimalImpUtil::ValueType128]
convertToDecimal128(xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[ValueType64] const& input);
----

== Return Value

the closest `ValueType128` value

== Parameters

[cols="1,4"]
|===
| Name| Description
| *input*
| value to convert
|===


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