[#BloombergLP-bdldfp-DecimalNumPut-do_put_impl]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalNumPut.adoc[DecimalNumPut]::do&lowbar;put&lowbar;impl
:relfileprefix: ../../../
:mrdocs:

Format the specified `value` and write it through `out`&period;

== Synopsis

Declared in `&lt;bdldfp&lowbar;decimal&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class DECIMAL&gt;
xref:BloombergLP/bdldfp/DecimalNumPut/iter_type.adoc[iter&lowbar;type]
do&lowbar;put&lowbar;impl(
    xref:BloombergLP/bdldfp/DecimalNumPut/iter_type.adoc[iter&lowbar;type] out,
    std::ios&lowbar;base& ios&lowbar;format,
    xref:BloombergLP/bdldfp/DecimalNumPut/char_type.adoc[char&lowbar;type] fill,
    DECIMAL value) const;
----

== Description

Write characters that represent the specified `value` into a string of the specified `char&lowbar;type`, and output the represented decimal number to the specified `out`, adjusting for the formatting flags in the specified `ios&lowbar;format` and using the specified `fill` character&period; Currently, formatting for the formatting flags of justification, width, uppercase, showpos, fixed and scientific are supported&period;

== Return Value

an iterator positioned after the last character written

== Parameters

[cols="1,4"]
|===
| Name| Description
| *out*
| output iterator destination
| *ios&lowbar;format*
| stream formatting state
| *fill*
| fill character for padding
| *value*
| decimal value to format
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
