[#BloombergLP-bdldfp-DecimalImpUtil_IntelDfp-convertToDecimal128-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil_IntelDfp.adoc[DecimalImpUtil_IntelDfp]::convertToDecimal128 :relfileprefix: ../../../ :mrdocs: `convertToDecimal128` overloads == Synopses Declared in `<bdldfp_decimalimputil_inteldfp.h>` Convert a decimal value to the closest 128‐bit decimal representation. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdldfp/DecimalImpUtil_IntelDfp/ValueType128.adoc[DecimalImpUtil_IntelDfp::ValueType128] xref:BloombergLP/bdldfp/DecimalImpUtil_IntelDfp/convertToDecimal128-06.adoc[convertToDecimal128](xref:BloombergLP/bdldfp/DecimalImpUtil_IntelDfp/ValueType32.adoc[ValueType32] const& input); ---- [.small]#xref:BloombergLP/bdldfp/DecimalImpUtil_IntelDfp/convertToDecimal128-06.adoc[_» more..._]# Convert a 64‐bit decimal value to 128‐bit decimal. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdldfp/DecimalImpUtil_IntelDfp/ValueType128.adoc[DecimalImpUtil_IntelDfp::ValueType128] xref:BloombergLP/bdldfp/DecimalImpUtil_IntelDfp/convertToDecimal128-05.adoc[convertToDecimal128](xref:BloombergLP/bdldfp/DecimalImpUtil_IntelDfp/ValueType64.adoc[ValueType64] const& input); ---- [.small]#xref:BloombergLP/bdldfp/DecimalImpUtil_IntelDfp/convertToDecimal128-05.adoc[_» more..._]# == Return Value * closest 128‐bit decimal representation of `input` * 128‐bit decimal representation of `input` == Parameters [cols="1,4"] |=== | Name| Description | *input* | decimal value to convert |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#