[#BloombergLP-balxml-TypesPrintUtil-printDecimal] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/TypesPrintUtil.adoc[TypesPrintUtil]::printDecimal :relfileprefix: ../../../ :mrdocs: Format the specified `object` to the specified output `stream` using the `bdlat_FormattingMode::e_DEC` formatting mode. == Synopsis Declared in `<balxml_typesprintutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> static std::ostream& printDecimal( std::ostream& stream, TYPE const& object, xref:BloombergLP/balxml/EncoderOptions.adoc[EncoderOptions] const* encoderOptions = 0); ---- == Description Optionally use the specified `encoderOptions`. Return a reference to `stream`. == Return Value a reference to the modifiable `stream` == Parameters [cols="1,4"] |=== | Name| Description | *stream* | output stream to receive the formatted text | *object* | value to format | *encoderOptions* | encoding options; null uses defaults |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#