[#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. 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. == 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 ---- == 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 used by 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. Optionally specify starting reference count `refs`, which will default to 0. If `refs` is non‐zero, the `DecimalNumPut` object will not be deleted when the last locale referencing it goes out of scope. | xref:BloombergLP/bdldfp/DecimalNumPut/put-05.adoc[`put`] | `put` overloads |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdldfp/DecimalNumPut/object.adoc[`object`] | Return the locale singleton used to write decimal values to streams. |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdldfp/DecimalNumPut/id.adoc[`id`] | Locale identifier for `DecimalNumPut`. |=== == 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`] | 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. |=== == 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]#