decimalToDPD overloads

Synopses

Declared in <bdldfp_decimalconvertutil.h>

Same as the overload taking Decimal32.

static
void
decimalToDPD(
    unsigned char* buffer,
    Decimal128 decimal);

Populate buffer with the DPD representation of decimal.

static
void
decimalToDPD(
    unsigned char* buffer,
    Decimal32 decimal);

Same as the overload taking Decimal32.

static
void
decimalToDPD(
    unsigned char* buffer,
    Decimal64 decimal);

Parameters

Name

Description

buffer

receives the DPD encoding

decimal

value to encode

Created with MrDocs