BloombergLP::bdldfp::DecimalConvertUtil::decimal32FromDPD

decimal32FromDPD overloads

Synopses

Declared in <bdldfp_decimalconvertutil.h>

Return the Decimal32 decoded from DPD data at buffer.

static
Decimal32
decimal32FromDPD(unsigned char const* buffer);
» more...

Store into decimal the value decoded from DPD data at buffer.

static
void
decimal32FromDPD(
    Decimal32* decimal,
    unsigned char const* buffer);
» more...

Return Value

native Decimal32 representation of the DPD value

Parameters

NameDescription
bufferbuffer containing a DPD-encoded value
decimalreceives the decoded value