[#BloombergLP-bdldfp-DecimalConvertUtil-decimalFromDPD-0c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalConvertUtil.adoc[DecimalConvertUtil]::decimalFromDPD :relfileprefix: ../../../ :mrdocs: Store into `decimal` the value decoded from DPD data at `buffer`. == Synopsis Declared in `<bdldfp_decimalconvertutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void decimalFromDPD( xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32]* decimal, unsigned char const* buffer); ---- == Description The behavior is undefined unless `buffer` points to a memory area at least `sizeof(*decimal)` in size containing a value in DPD format. == Parameters [cols="1,4"] |=== | Name| Description | *decimal* | receives the decoded value | *buffer* | buffer containing a DPD‐encoded value |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#