#include </work/src/NumberFormatting.h>
Public Member Functions | |
FormatSpec () | |
Char | filler () const |
void | filler (Char filler) |
size_t | width () const |
void | width (size_t width) |
size_t | precision () const |
void | precision (size_t precision) |
Functions below serialize integer and decimal numbers in a "%<width>.<precision>" printf format. Formatted value is never truncated if width is less than a number of digits in a whole part of a number. Value truncating is used as rounding strategy when fractional part has grater precision than requested one.
Definition at line 279 of file NumberFormatting.h.
|
inline |
Definition at line 286 of file NumberFormatting.h.
|
inline |
Definition at line 293 of file NumberFormatting.h.
|
inline |
Definition at line 298 of file NumberFormatting.h.
|
inline |
Definition at line 313 of file NumberFormatting.h.
|
inline |
Definition at line 318 of file NumberFormatting.h.
|
inline |
Definition at line 303 of file NumberFormatting.h.
|
inline |
Definition at line 308 of file NumberFormatting.h.