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

`do&lowbar;put` overloads

== Synopses

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

Write a decimal value through the specified output iterator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
xref:BloombergLP/bdldfp/DecimalNumPut/iter_type.adoc[iter&lowbar;type]
xref:BloombergLP/bdldfp/DecimalNumPut/do_put-00.adoc[do&lowbar;put](
    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,
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] value) const;
----

[.small]#xref:BloombergLP/bdldfp/DecimalNumPut/do_put-00.adoc[_» more&period;&period;&period;_]#

Write characters (of `char&lowbar;type`) that represent the specified `value` to the output stream determined by the specified `out` output iterator&period; Use the `bsl&colon;&colon;ctype` and the `bsl&colon;&colon;numpunct` facets imbued to the specified stream&hyphen;base `ios&lowbar;format` as well as the formatting flags of the `ios&lowbar;format` (`bsl&period;flags()`) to generate the properly localized output&period; The specified `fill` character will be used as a placeholder character in padded output&period; For further, more detailed information please consult the section &lsqb;lib&period;facet&period;num&period;put&period;virtuals&rsqb;of the C&plus;&plus; Standard noting that the length modifiers &quot;H&quot;, &quot;D&quot; and &quot;DD&quot; are added to the conversion specifiers of for the types Decimal32, 64 and 128, respectively&period; Also note that these (possibly overridden) `do&lowbar;put` virtual function are used by every formatted C&plus;&plus; stream output operator call (`out &lt;&lt; aDecNumber`)&period; Note that currently, only the width, capitalization, justification, fixed and scientific formatting flags are supported, and the operators only support code pages that include the ASCII sub&hyphen;range&period; Because of potential future improvements to support additional formatting flags, the operations should not be used for serialization&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
xref:BloombergLP/bdldfp/DecimalNumPut/iter_type.adoc[iter&lowbar;type]
xref:BloombergLP/bdldfp/DecimalNumPut/do_put-05.adoc[do&lowbar;put](
    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,
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] value) const;
----

[.small]#xref:BloombergLP/bdldfp/DecimalNumPut/do_put-05.adoc[_» more&period;&period;&period;_]#

Write the specified `Decimal64` value through the specified output iterator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
xref:BloombergLP/bdldfp/DecimalNumPut/iter_type.adoc[iter&lowbar;type]
xref:BloombergLP/bdldfp/DecimalNumPut/do_put-0c.adoc[do&lowbar;put](
    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,
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] value) const;
----

[.small]#xref:BloombergLP/bdldfp/DecimalNumPut/do_put-0c.adoc[_» more&period;&period;&period;_]#


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