Instance Method
sign(strategy:)
iOS 15.0+
iPadOS 15.0+
Mac Catalyst 15.0+
macOS 12.0+
tvOS 15.0+
watchOS 8.0+
Modifies the format style to use the specified sign display strategy for displaying or omitting sign symbols.
func sign(strategy: FloatingPointFormatStyle<Value>.Currency.Configuration.SignDisplayStrategy) -> FloatingPointFormatStyle<Value>.Currency
Parameters
strategyThe sign display strategy to apply to the format style.
Return Value
A floating-point currency format style modified to use the specified sign display strategy.