Contents

always(includingZero:)

A strategy to always display sign symbols.

Declaration

static func always(includingZero: Bool = true) -> NumberFormatStyleConfiguration.SignDisplayStrategy

Parameters

  • includingZero:

    A 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.

See Also

Sign display strategies