[#BloombergLP-bslfmt-FormatterIntegralBase-formatValue]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/FormatterIntegralBase.adoc[FormatterIntegralBase]::formatValue
:relfileprefix: ../../../
:mrdocs:

Create the string representation of the specified `value` and write it into the character buffer starting at the specified `valueStorage` and having the specified `storageSize`&period; Return the address one past the last character&period; Throw `bsl&colon;&colon;format&lowbar;error` if parsed format specification is intended for non&hyphen;integer type or the `value` is not in the range of representable values for the (template parameter) `t&lowbar;CHAR` with character type specification&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;ACTUAL&lowbar;VALUE&lowbar;TYPE&gt;
t&lowbar;CHAR*
formatValue(
    t&lowbar;CHAR* valueStorage,
    int storageSize,
    t&lowbar;ACTUAL&lowbar;VALUE&lowbar;TYPE value) const;
----


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