Contents

sign(strategy:)

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

Declaration

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

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