[#BloombergLP-bslfmt-FormatterFloating_Base]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::FormatterFloating&lowbar;Base
:relfileprefix: ../../
:mrdocs:

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

== Synopsis

Declared in `&lt;bslfmt&lowbar;formatterfloating&period;h&gt;`

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

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslfmt/FormatterFloating_Base/format.adoc[`format`] 
| Create string representation of the specified `value`, customized in accordance with the requested format and the specified `formatContext`, and write the result to the output iterator that 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/bslfmt/FormatterFloating_Base/parse.adoc[`parse`] 
| Parse the specified `parseContext`, store the resulting parsed specification and return an iterator, pointing to the beginning 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]#
