[#absl-Dec]
= xref:absl.adoc[absl]::Dec
:relfileprefix: ../
:mrdocs:

Stores a set of decimal string conversion parameters for use within `AlphaNum` string conversions&period;

== Synopsis

Declared in `&lt;absl&sol;strings&sol;str&lowbar;cat&period;h&gt;`

[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&period;

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:absl/Dec/2constructor.adoc[`Dec`]         [.small]#[constructor]#
| Constructs a `Dec` from an integral value&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:absl/Dec/fill.adoc[`fill`] 
| The fill character used for padding&period;
| xref:absl/Dec/neg.adoc[`neg`] 
| Whether the value is negative&period;
| xref:absl/Dec/value.adoc[`value`] 
| The magnitude of the value to format&period;
| xref:absl/Dec/width.adoc[`width`] 
| The minimum field width of the output&period;
|===


== Friends

[cols="1,4"]
|===
| Name| Description
| `xref:absl/AbslStringify-09.adoc[absl::AbslStringify]`
| Appends the decimal representation of `dec` to `sink`&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
