Contents

always(showZero:)

A sign display strategy to always show the sign, with a configurable behavior for handling zero values.

Declaration

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.

See Also

Specifying sign display strategy