Contents

sign(strategy:)

Modifies the format style to use the specified sign display strategy.

Declaration

func sign(strategy: FloatingPointFormatStyle<Value>.Currency.Configuration.SignDisplayStrategy) -> FloatingPointFormatStyle<Value>.Currency

Parameters

  • strategy:

    The sign display strategy to apply to the format style.

Return Value

A floating-point format style modified to use the specified sign display strategy.

See Also

Customizing style behavior