BloombergLP::bslalg::NumericFormatterUtil::toChars

Format the specified unsigned long integer value into [first, last)].

Synopsis

Declared in <bslalg_numericformatterutil.h>

static
char*
toChars(
    char* first,
    char* last,
    unsigned long value,
    int base = 10) noexcept;

Return Value

pointer past the last character written, or null on failure

Parameters

NameDescription
firstbeginning of the output character range
lastend of the output character range
valueinteger value to format
basenumeric base for formatting