Contents

sign(strategy:)

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

Declaration

func sign(strategy: Decimal.FormatStyle.Currency.Configuration.SignDisplayStrategy) -> Decimal.FormatStyle.Currency

Parameters

  • strategy:

    The sign display strategy to apply to the format style.

Return Value

A decimal format style modified to use the specified sign display strategy.

See Also

Customizing style behavior