Type Method
always(includingZero:)
iOS 15.0+
iPadOS 15.0+
Mac Catalyst 15.0+
macOS 12.0+
tvOS 15.0+
watchOS 8.0+
A strategy to always display sign symbols.
static func always(includingZero: Bool = true) -> NumberFormatStyleConfiguration.SignDisplayStrategy
Parameters
includingZeroA Boolean value that determines whether the format style should apply sign characters to zero values. Defaults to
true.
Return Value
A strategy to always display sign symbols, with the given behavior for zero values.