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

Return whether the locale&hyphen;specific flag was present&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
bool
localeSpecificFlag() const;
----

== Description

Return a boolean indicating if the locale specific flag was present in the format specification 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; Note that the locale specific flag is not yet supported hence the attempt to format with a specification that has this flags set will result in an exception indicating that&period;

== Return Value

`true` if the locale&hyphen;specific flag was present


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