[#BloombergLP-bdldfp-DecimalNumPut] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::DecimalNumPut :relfileprefix: ../../ :mrdocs: A facet type (mechanism) used in writing decimal floating‐point types. == Synopsis Declared in `<bdldfp_decimal.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class CHARTYPE, class OUTPUTITERATOR = bsl::ostreambuf_iterator<CHARTYPE>> class DecimalNumPut : public std::locale::facet ---- == Description Note that this type does not follow BDE conventions because its content is dictated by the C++ standard and native standard library implementations. See ISO/IEC TR 24733 3.10.3 for details. == Base Classes [cols="1,4"] |=== | Name| Description | `std::locale::facet` | Localization functionality base class. |=== == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdldfp/DecimalNumPut/char_type.adoc[`char_type`] | Character type of this facet. | xref:BloombergLP/bdldfp/DecimalNumPut/iter_type.adoc[`iter_type`] | Output iterator type used by this facet. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdldfp/DecimalNumPut/2constructor.adoc[`DecimalNumPut`] [.small]#[constructor]# | Constructs a `DecimalNumPut` object. | xref:BloombergLP/bdldfp/DecimalNumPut/put-05.adoc[`put`] | Forward to, and return using the specified `out`, `str`, `fill`, and `value`, the results of `this‐>do_put(out, str, fill, value)`. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdldfp/DecimalNumPut/object.adoc[`object`] | Return a reference to a process‐wide default `DecimalNumPut` facet. |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdldfp/DecimalNumPut/id.adoc[`id`] | Unique identifier used to locate this facet in a `bsl::locale`. |=== == Protected Types [cols="1"] |=== | Name | xref:BloombergLP/bdldfp/DecimalNumPut/__shim.adoc[`__shim`] |=== == Protected Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdldfp/DecimalNumPut/2destructor.adoc[`~DecimalNumPut`] [.small]#[destructor]# [.small]#[virtual]# | Destroy this object. Note that the destructor is virtual. | xref:BloombergLP/bdldfp/DecimalNumPut/operator_assign.adoc[`operator=`] [.small]#[deleted]# | | xref:BloombergLP/bdldfp/DecimalNumPut/do_put-0d.adoc[`do_put`] | `do_put` overloads | xref:BloombergLP/bdldfp/DecimalNumPut/do_put_impl.adoc[`do_put_impl`] | Format the specified `value` and write it through `out`. |=== == Protected Static Member Functions [cols="1"] |=== | Name | xref:BloombergLP/bdldfp/DecimalNumPut/_S_clone_c_locale.adoc[`_S_clone_c_locale`] | xref:BloombergLP/bdldfp/DecimalNumPut/_S_create_c_locale.adoc[`_S_create_c_locale`] | xref:BloombergLP/bdldfp/DecimalNumPut/_S_destroy_c_locale.adoc[`_S_destroy_c_locale`] | xref:BloombergLP/bdldfp/DecimalNumPut/_S_get_c_locale.adoc[`_S_get_c_locale`] | xref:BloombergLP/bdldfp/DecimalNumPut/_S_get_c_name.adoc[`_S_get_c_name`] | xref:BloombergLP/bdldfp/DecimalNumPut/_S_lc_ctype_c_locale.adoc[`_S_lc_ctype_c_locale`] |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#