toChars overloads
Declared in <bslalg_numericformatterutil.h>
Format floating-point value into [first, last)].
static
char*
toChars(
char* first,
char* last,
double value) noexcept;
» more...
Format floating-point value into [first, last)].
static
char*
toChars(
char* first,
char* last,
float value) noexcept;
» more...
Format the specified character value into [first, last)].
static
char*
toChars(
char* first,
char* last,
char value,
int base = 10) noexcept;
» more...
Format floating-point value using the specified format.
static
char*
toChars(
char* first,
char* last,
double value,
Format format) noexcept;
» more...
Format floating-point value using the specified format.
static
char*
toChars(
char* first,
char* last,
float value,
Format format) noexcept;
» more...
Format the specified signed integer value into [first, last)].
static
char*
toChars(
char* first,
char* last,
int value,
int base = 10) noexcept;
» more...
Format the specified signed long integer value into [first, last)].
static
char*
toChars(
char* first,
char* last,
long value,
int base = 10) noexcept;
» more...
Format value in the specified base into [first, last)].
static
char*
toChars(
char* first,
char* last,
long long value,
int base = 10) noexcept;
» more...
Format the specified signed short integer value into [first, last)].
static
char*
toChars(
char* first,
char* last,
short value,
int base = 10) noexcept;
» more...
Format the specified signed character value into [first, last)].
static
char*
toChars(
char* first,
char* last,
signed char value,
int base = 10) noexcept;
» more...
Format the specified unsigned character value into [first, last)].
static
char*
toChars(
char* first,
char* last,
unsigned char value,
int base = 10) noexcept;
» more...
Format the specified unsigned integer value into [first, last)].
static
char*
toChars(
char* first,
char* last,
unsigned int value,
int base = 10) noexcept;
» more...
Format the specified unsigned long integer value into [first, last)].
static
char*
toChars(
char* first,
char* last,
unsigned long value,
int base = 10) noexcept;
» more...
Format the specified unsigned long long integer value into [first, last)].
static
char*
toChars(
char* first,
char* last,
unsigned long long value,
int base = 10) noexcept;
» more...
Format the specified integer value into [first, last)].
static
char*
toChars(
char* first,
char* last,
unsigned short value,
int base = 10) noexcept;
» more...
Format floating-point value using format and precision.
static
char*
toChars(
char* first,
char* last,
double value,
Format format,
int precision) noexcept;
» more...
Format the specified float value into [first, last)].
static
char*
toChars(
char* first,
char* last,
float value,
Format format,
int precision) noexcept;
» more...
pointer past the last character written, or null on failure
| Name | Description |
|---|---|
| first | beginning of the output character range |
| last | end of the output character range |
| value | floating-point value to format |
| base | numeric base for formatting |
| format | floating-point formatting style |
| precision | number of digits after the radix point |