[#BloombergLP-bdldfp-DecimalConvertUtil-decimalToBID-00] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalConvertUtil.adoc[DecimalConvertUtil]::decimalToBID :relfileprefix: ../../../ :mrdocs: `decimalToBID` overloads == Synopses Declared in `<bdldfp_decimalconvertutil.h>` Same as the overload taking `Decimal32`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void xref:BloombergLP/bdldfp/DecimalConvertUtil/decimalToBID-053.adoc[decimalToBID]( unsigned char* buffer, xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] decimal); ---- [.small]#xref:BloombergLP/bdldfp/DecimalConvertUtil/decimalToBID-053.adoc[_» more..._]# Populate `buffer` with the BID representation of `decimal`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void xref:BloombergLP/bdldfp/DecimalConvertUtil/decimalToBID-0a.adoc[decimalToBID]( unsigned char* buffer, xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] decimal); ---- [.small]#xref:BloombergLP/bdldfp/DecimalConvertUtil/decimalToBID-0a.adoc[_» more..._]# Same as the overload taking `Decimal32`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void xref:BloombergLP/bdldfp/DecimalConvertUtil/decimalToBID-050.adoc[decimalToBID]( unsigned char* buffer, xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] decimal); ---- [.small]#xref:BloombergLP/bdldfp/DecimalConvertUtil/decimalToBID-050.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *buffer* | receives the BID encoding | *decimal* | value to encode |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#