[#BloombergLP-bdldfp-Decimal_FormatterSpecification-alignment]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/Decimal_FormatterSpecification.adoc[Decimal&lowbar;FormatterSpecification]::alignment
:relfileprefix: ../../../
:mrdocs:

Return the requested alignment&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
Decimal&lowbar;FormatterSpecification&lt;t&lowbar;CHAR&gt;::Parser::Alignment
alignment() const;
----

== Description

Return the enumerator representing the requested alignment unless the status is not at least `e&lowbar;STATE&lowbar;PARSED` in which case throw a `bsl&colon;&colon;format&lowbar;error` exception indicating that error&period;

== Return Value

requested alignment


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