[#absl-Dec] = xref:absl.adoc[absl]::Dec :relfileprefix: ../ :mrdocs: Stores a set of decimal string conversion parameters for use within `AlphaNum` string conversions. == Synopsis Declared in `<absl/strings/str_cat.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct Dec; ---- == Description `Dec` is slower than the default integer conversion, so use it only if you need padding. == Member Functions [cols="1,4"] |=== | Name| Description | xref:absl/Dec/2constructor.adoc[`Dec`] [.small]#[constructor]# | Constructs a `Dec` from an integral value. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:absl/Dec/fill.adoc[`fill`] | The fill character used for padding. | xref:absl/Dec/neg.adoc[`neg`] | Whether the value is negative. | xref:absl/Dec/value.adoc[`value`] | The magnitude of the value to format. | xref:absl/Dec/width.adoc[`width`] | The minimum field width of the output. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:absl/AbslStringify-09.adoc[absl::AbslStringify]` | Appends the decimal representation of `dec` to `sink`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#