Contents

numeric(_:)

Column alignment appropriate for numeric content.

Declaration

static func numeric(_ numberingSystem: Locale.NumberingSystem) -> TableColumnAlignment

Discussion

Use this alignment when a table column is primarily displaying numeric content, so that the values are easy to visually scan and compare.

This uses the provided numbering system to determine the alignment:

  • For left to right numbering systems, this is equivalent to right.

  • For right to left numbering systems, this is equivalent to left.

See Also

Getting the alignment