[#BloombergLP-bdldfp-DecimalNumPut]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::DecimalNumPut
:relfileprefix: ../../
:mrdocs:

A facet type (mechanism) used in writing decimal floating&hyphen;point types&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class CHARTYPE,
    class OUTPUTITERATOR = bsl::ostreambuf&lowbar;iterator&lt;CHARTYPE&gt;&gt;
class DecimalNumPut
    : public std::locale::facet
----

== Description

Note that this type does not follow BDE conventions because its content is dictated by the C&plus;&plus; standard and native standard library implementations&period; See ISO&sol;IEC TR 24733 3&period;10&period;3 for details&period;

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `std::locale::facet`
| Localization functionality base class&period;
|===

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdldfp/DecimalNumPut/char_type.adoc[`char&lowbar;type`] 
| Character type of this facet&period;
| xref:BloombergLP/bdldfp/DecimalNumPut/iter_type.adoc[`iter&lowbar;type`] 
| Output iterator type used by this facet&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdldfp/DecimalNumPut/2constructor.adoc[`DecimalNumPut`]         [.small]#[constructor]#
| Constructs a `DecimalNumPut` object&period;
| xref:BloombergLP/bdldfp/DecimalNumPut/put-05.adoc[`put`] 
| Forward to, and return using the specified `out`, `str`, `fill`, and `value`, the results of `this&hyphen;&gt;do&lowbar;put(out, str, fill, value)`&period;
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdldfp/DecimalNumPut/object.adoc[`object`] 
| Return a reference to a process&hyphen;wide default `DecimalNumPut` facet&period;
|===


== 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&colon;&colon;locale`&period;
|===


== Protected Types

[cols="1"]
|===
| Name
| xref:BloombergLP/bdldfp/DecimalNumPut/__shim.adoc[`&lowbar;&lowbar;shim`] 
|===


== Protected Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdldfp/DecimalNumPut/2destructor.adoc[`&#126;DecimalNumPut`] [.small]#[destructor]# [.small]#[virtual]#
| Destroy this object&period; Note that the destructor is virtual&period;
| xref:BloombergLP/bdldfp/DecimalNumPut/operator_assign.adoc[`operator&equals;`]  [.small]#[deleted]#
| 
| xref:BloombergLP/bdldfp/DecimalNumPut/do_put-0d.adoc[`do&lowbar;put`] 
| `do&lowbar;put` overloads
| xref:BloombergLP/bdldfp/DecimalNumPut/do_put_impl.adoc[`do&lowbar;put&lowbar;impl`] 
| Format the specified `value` and write it through `out`&period;
|===


== Protected Static Member Functions

[cols="1"]
|===
| Name
| xref:BloombergLP/bdldfp/DecimalNumPut/_S_clone_c_locale.adoc[`&lowbar;S&lowbar;clone&lowbar;c&lowbar;locale`] 
| xref:BloombergLP/bdldfp/DecimalNumPut/_S_create_c_locale.adoc[`&lowbar;S&lowbar;create&lowbar;c&lowbar;locale`] 
| xref:BloombergLP/bdldfp/DecimalNumPut/_S_destroy_c_locale.adoc[`&lowbar;S&lowbar;destroy&lowbar;c&lowbar;locale`] 
| xref:BloombergLP/bdldfp/DecimalNumPut/_S_get_c_locale.adoc[`&lowbar;S&lowbar;get&lowbar;c&lowbar;locale`] 
| xref:BloombergLP/bdldfp/DecimalNumPut/_S_get_c_name.adoc[`&lowbar;S&lowbar;get&lowbar;c&lowbar;name`] 
| xref:BloombergLP/bdldfp/DecimalNumPut/_S_lc_ctype_c_locale.adoc[`&lowbar;S&lowbar;lc&lowbar;ctype&lowbar;c&lowbar;locale`] 
|===



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