accountingAlways(showZero:)
A sign display strategy to use accounting principles, with a configurable behavior for handling zero values.
Declaration
static func accountingAlways(showZero: Bool = false) -> CurrencyFormatStyleConfiguration.SignDisplayStrategyParameters
- showZero:
A Boolean value that indicates whether to show the sign symbol on zero values. Defaults to
false.
Return Value
A strategy that uses accounting principles, and the specified handling of zero values.