#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 276 of file NumberFormatting.h.
|
inline |
Definition at line 283 of file NumberFormatting.h.
|
inline |
Definition at line 290 of file NumberFormatting.h.
|
inline |
Definition at line 295 of file NumberFormatting.h.
|
inline |
Definition at line 310 of file NumberFormatting.h.
|
inline |
Definition at line 315 of file NumberFormatting.h.
|
inline |
Definition at line 300 of file NumberFormatting.h.
|
inline |
Definition at line 305 of file NumberFormatting.h.