Stores a set of decimal string conversion parameters for use within AlphaNum string conversions.
Declared in <absl/strings/str_cat.h>
struct Dec;
Dec is slower than the default integer conversion, so use it only if you need padding.
| Name | Description |
|---|---|
Dec [constructor] | Constructs a Dec from an integral value. |
| Name | Description |
|---|---|
fill | The fill character used for padding. |
neg | Whether the value is negative. |
value | The magnitude of the value to format. |
width | The minimum field width of the output. |
| Name | Description |
|---|---|
absl::AbslStringify | Appends the decimal representation of dec to sink. |