Return whether alternative formatting was requested.

Synopsis

Declared in <bdldfp_decimal.h>

constexpr
bool
alternativeFlag() const;

Description

Return a boolean indicating if alternative formatting was requested unless the status is not at least e_STATE_PARSED in which case throw a bsl::format_error exception indicating that error.

Return Value

true if alternative formatting was requested

Created with MrDocs