BloombergLP::bslalg::NumericFormatterUtil::toChars

Format floating-point value using the specified format.

Synopsis

Declared in <bslalg_numericformatterutil.h>

static
char*
toChars(
    char* first,
    char* last,
    float value,
    Format format) noexcept;

Description

Same as the preceding overload, for float values.

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
valuefloating-point value to format
formatfloating-point formatting style