[#BloombergLP-bdldfp-DecimalFormatConfig]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::DecimalFormatConfig
:relfileprefix: ../../
:mrdocs:

This attribute class characterizes how to configure certain behavior of `bdldfp&colon;&colon;DecimalUtil&colon;&colon;format` functions&period;

== Synopsis

Declared in `&lt;bdldfp&lowbar;decimalformatconfig&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class DecimalFormatConfig;
----

== Enums

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdldfp/DecimalFormatConfig/Sign-0a.adoc[`Sign`] 
| Sign characters used when formatting decimal values&period;
| xref:BloombergLP/bdldfp/DecimalFormatConfig/Style-06.adoc[`Style`] 
| Output style used when formatting decimal values&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdldfp/DecimalFormatConfig/2constructor-0c.adoc[`DecimalFormatConfig`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bdldfp/DecimalFormatConfig/decimalPoint.adoc[`decimalPoint`] 
| Return point character&period;
| xref:BloombergLP/bdldfp/DecimalFormatConfig/expWidth.adoc[`expWidth`] 
| Return the minimum exponent width&period;
| xref:BloombergLP/bdldfp/DecimalFormatConfig/exponent.adoc[`exponent`] 
| Return exponent character&period;
| xref:BloombergLP/bdldfp/DecimalFormatConfig/infinity.adoc[`infinity`] 
| Return infinity string representation&period;
| xref:BloombergLP/bdldfp/DecimalFormatConfig/nan.adoc[`nan`] 
| Return NaN string representation&period;
| xref:BloombergLP/bdldfp/DecimalFormatConfig/precision.adoc[`precision`] 
| Return the number of digits of precision in the outputs&period;
| xref:BloombergLP/bdldfp/DecimalFormatConfig/sNan.adoc[`sNan`] 
| Return sNaN string representation&period;
| xref:BloombergLP/bdldfp/DecimalFormatConfig/setDecimalPoint.adoc[`setDecimalPoint`] 
| Set the `point` attribute of this object to the specified `value`&period;
| xref:BloombergLP/bdldfp/DecimalFormatConfig/setExpWidth.adoc[`setExpWidth`] 
| Set the `expwidth` attribute of this object to the specified `value`&period; The behavior is undefined unless `value` is 1, 2, 3, or 4&period;
| xref:BloombergLP/bdldfp/DecimalFormatConfig/setExponent.adoc[`setExponent`] 
| Set the `exponent` attribute of this object to the specified `value`&period;
| xref:BloombergLP/bdldfp/DecimalFormatConfig/setInfinity.adoc[`setInfinity`] 
| Set the `infinity` attribute of this object to the specified `value`&period; The behavior is undefined unless the pointer to the `value` remains valid for the lifetime of this object&period;
| xref:BloombergLP/bdldfp/DecimalFormatConfig/setNan.adoc[`setNan`] 
| Set the `nan` attribute of this object to the specified `value`&period; The behavior is undefined unless the pointer to the `value` remains valid for the lifetime of this object&period;
| xref:BloombergLP/bdldfp/DecimalFormatConfig/setPrecision.adoc[`setPrecision`] 
| Set the `precision` attribute of this object to the specified `value`&period; Behavior is undefined unless `value &gt;&equals; &hyphen;1`&period;
| xref:BloombergLP/bdldfp/DecimalFormatConfig/setSNan.adoc[`setSNan`] 
| Set the `snan` attribute of this object to the specified `value`&period; The behavior is undefined unless the pointer to the `value` remains valid for the lifetime of this object&period;
| xref:BloombergLP/bdldfp/DecimalFormatConfig/setShowpoint.adoc[`setShowpoint`] 
| Set the `showpoint` attribute of this object to the specified `value`&period;
| xref:BloombergLP/bdldfp/DecimalFormatConfig/setSign.adoc[`setSign`] 
| Set the `sign` attribute of this object to the specified `value`&period;
| xref:BloombergLP/bdldfp/DecimalFormatConfig/setStyle.adoc[`setStyle`] 
| Set the `style` attribute of this object to the specified `value`&period;
| xref:BloombergLP/bdldfp/DecimalFormatConfig/showpoint.adoc[`showpoint`] 
| Return the `showpoint` attribute&period;
| xref:BloombergLP/bdldfp/DecimalFormatConfig/sign-09.adoc[`sign`] 
| Return the sign attribute&period;
| xref:BloombergLP/bdldfp/DecimalFormatConfig/style-00.adoc[`style`] 
| Return the style of output format&period;
|===


== Friends

[cols="1,4"]
|===
| Name| Description
| `xref:BloombergLP/bdldfp/operator_not_eq-0f.adoc[BloombergLP::bdldfp::operator!&equals;]`
| Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise&period; Two `DecimalFormatConfig` objects do not have the same value if any of their attributes (respectively) do not have the same value&period; Note that comparison of two string type attributes are done via &apos;bsl&colon;&colon;strcmp() function&period;
| `xref:BloombergLP/bdldfp/operator_eq-0b5.adoc[BloombergLP::bdldfp::operator&equals;&equals;]`
| Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period; Two `DecimalFormatConfig` objects have the same value if each of their attributes (respectively) have the same value&period; Note that comparison of two string type attributes are done via &apos;bsl&colon;&colon;strcmp() function&period;
|===


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