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