[#BloombergLP-bdldfp-DecimalNumPut-do_put-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalNumPut.adoc[DecimalNumPut]::do_put :relfileprefix: ../../../ :mrdocs: `do_put` overloads == Synopses Declared in `<bdldfp_decimal.h>` Write a decimal value through the specified output iterator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual xref:BloombergLP/bdldfp/DecimalNumPut/iter_type.adoc[iter_type] xref:BloombergLP/bdldfp/DecimalNumPut/do_put-00.adoc[do_put]( 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, xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] value) const; ---- [.small]#xref:BloombergLP/bdldfp/DecimalNumPut/do_put-00.adoc[_» more..._]# Write characters (of `char_type`) that represent the specified `value` to the output stream determined by the specified `out` output iterator. Use the `bsl::ctype` and the `bsl::numpunct` facets imbued to the specified stream‐base `ios_format` as well as the formatting flags of the `ios_format` (`bsl.flags()`) to generate the properly localized output. The specified `fill` character will be used as a placeholder character in padded output. For further, more detailed information please consult the section [lib.facet.num.put.virtuals]of the C++ Standard noting that the length modifiers "H", "D" and "DD" are added to the conversion specifiers of for the types Decimal32, 64 and 128, respectively. Also note that these (possibly overridden) `do_put` virtual function are used by every formatted C++ stream output operator call (`out << aDecNumber`). 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‐range. Because of potential future improvements to support additional formatting flags, the operations should not be used for serialization. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual xref:BloombergLP/bdldfp/DecimalNumPut/iter_type.adoc[iter_type] xref:BloombergLP/bdldfp/DecimalNumPut/do_put-05.adoc[do_put]( 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, xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] value) const; ---- [.small]#xref:BloombergLP/bdldfp/DecimalNumPut/do_put-05.adoc[_» more..._]# Write the specified `Decimal64` value through the specified output iterator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual xref:BloombergLP/bdldfp/DecimalNumPut/iter_type.adoc[iter_type] xref:BloombergLP/bdldfp/DecimalNumPut/do_put-0c.adoc[do_put]( 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, xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] value) const; ---- [.small]#xref:BloombergLP/bdldfp/DecimalNumPut/do_put-0c.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#