[#BloombergLP-bslalg-NumericFormatterUtil-toChars-005]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/NumericFormatterUtil.adoc[NumericFormatterUtil]::toChars
:relfileprefix: ../../../
:mrdocs:

Format the specified signed long integer `value` into `&lsqb;first, last)&rsqb;`&period;

== Synopsis

Declared in `&lt;bslalg&lowbar;numericformatterutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
char*
toChars(
    char* first,
    char* last,
    long value,
    int base = 10) noexcept;
----

== Return Value

pointer past the last character written, or null on failure

== Parameters

[cols="1,4"]
|===
| Name| Description
| *first*
| beginning of the output character range
| *last*
| end of the output character range
| *value*
| integer value to format
| *base*
| numeric base for formatting
|===


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