Format the specified float value into [first, last)].

Synopsis

Declared in <bslalg_numericformatterutil.h>

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

Return Value

pointer past the last character written, or null on failure

Parameters

Name

Description

first

beginning of the output character range

last

end of the output character range

value

floating‐point value to format

format

floating‐point formatting style

precision

number of digits after the radix point

Created with MrDocs