[#BloombergLP-bdldfp-DecimalNumPut-do_put_impl] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalNumPut.adoc[DecimalNumPut]::do_put_impl :relfileprefix: ../../../ :mrdocs: Format the specified `value` and write it through `out`. == Synopsis Declared in `<bdldfp_decimal.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class DECIMAL> xref:BloombergLP/bdldfp/DecimalNumPut/iter_type.adoc[iter_type] do_put_impl( xref:BloombergLP/bdldfp/DecimalNumPut/iter_type.adoc[iter_type] out, std::ios_base& ios_format, xref:BloombergLP/bdldfp/DecimalNumPut/char_type.adoc[char_type] fill, DECIMAL value) const; ---- == Description Write characters that represent the specified `value` into a string of the specified `char_type`, and output the represented decimal number to the specified `out`, adjusting for the formatting flags in the specified `ios_format` and using the specified `fill` character. Currently, formatting for the formatting flags of justification, width, uppercase, showpos, fixed and scientific are supported. == Return Value an iterator positioned after the last character written == Parameters [cols="1,4"] |=== | Name| Description | *out* | output iterator destination | *ios_format* | stream formatting state | *fill* | fill character for padding | *value* | decimal value to format |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#