BloombergLP::bdldfp::DecimalConvertUtil::decimal32ToBID

Encode the specified decimal into buffer in BID format.

Synopsis

Declared in <bdldfp_decimalconvertutil.h>

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

Parameters

NameDescription
bufferreceives the BID encoding
decimalvalue to encode