ordinal method

String ordinal(
  1. int n
)

Gets the ordinal suffix for a number.

Implementation

String ordinal(int n) => _locale.ordinal(n);