[#BloombergLP-bdldfp-Decimal_BslFmtFormatterImpl]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::Decimal&lowbar;BslFmtFormatterImpl
:relfileprefix: ../../
:mrdocs:

This class template provides the implementation for all possible decimal floating point formatting styles and the parsing of the format specification&period; The specified `t&lowbar;VALUE` template type argument determines the type of decimal floating point value use, while the specified `t&lowbar;CHAR` determines both the formatting string and the output&apos;s character type&period; The behavior is undefined unless `t&lowbar;VALUE` is one of `Decimal32`, &grave;Decimal64, or `Decimal128, and `t&lowbar;CHAR` is on of `char` or `wchar&lowbar;t&grave;&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;VALUE,
    class t&lowbar;CHAR&gt;
struct Decimal&lowbar;BslFmtFormatterImpl;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdldfp/Decimal_BslFmtFormatterImpl/format.adoc[`format`] 
| Create string representation of the specified `value`, customized in accordance with the requested format and the specified `formatContext`, and copy it to the output that the output iterator of the `formatContext` points to&period; The behavior is undefined unless `t&lowbar;FORMAT&lowbar;CONTEXT` is either `std&colon;&colon;format&lowbar;context` if that is supported, or otherwise `bslfmt&colon;&colon;format&lowbar;context`&period;
| xref:BloombergLP/bdldfp/Decimal_BslFmtFormatterImpl/parse.adoc[`parse`] 
| Parse the specified `parseContext` and return an iterator, pointing to the beginning of the unparsed section of the format string&period; The behavior is undefined unless `t&lowbar;PARSE&lowbar;CONTEXT` is either `std&colon;&colon;parse&lowbar;context` if that is supported, or otherwise `bslfmt&colon;&colon;parse&lowbar;context`&period;
|===



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