Skip to content

Type Method

always(showZero:)

iOS 15.0+ iPadOS 15.0+ Mac Catalyst 15.0+ macOS 12.0+ tvOS 15.0+ watchOS 8.0+
A sign display strategy to always show the sign, with a configurable behavior for handling zero values.
static func always(showZero: Bool = true) -> CurrencyFormatStyleConfiguration.SignDisplayStrategy

Parameters

showZero

A Boolean value that indicates whether to show the sign symbol on zero values. Defaults to true.

Return Value

A sign display strategy that always displays the sign, and uses the specified handling of zero values.