Cornish kernewek

BCP 47 language tag: kw

Lokalized supports cardinality, cardinality range, and ordinality rules for Cornish.

Cornish is most often spoken in the United Kingdom.

Cardinalities

  • CARDINALITY_ZERO

    Matches n = 0

    Example Integers: 0

    Example Decimals: 0.0, 0.00, 0.000, 0.0000

  • CARDINALITY_ONE

    Matches n = 1

    Example Integers: 1

    Example Decimals: 1.0, 1.00, 1.000, 1.0000

  • CARDINALITY_TWO

    Matches n % 100 = 2,22,42,62,82 or n % 1000 = 0 and n % 100000 = 1000..20000,40000,60000,80000 or n != 0 and n % 1000000 = 100000

    Example Integers: 2, 22, 42, 62, 82, 102, 122, 142, 1000, 10000, 100000, …

    Example Decimals: 2.0, 22.0, 42.0, 62.0, 82.0, 102.0, 122.0, 142.0, 1000.0, 10000.0, 100000.0, …

  • CARDINALITY_FEW

    Matches n % 100 = 3,23,43,63,83

    Example Integers: 3, 23, 43, 63, 83, 103, 123, 143, 1003, …

    Example Decimals: 3.0, 23.0, 43.0, 63.0, 83.0, 103.0, 123.0, 143.0, 1003.0, …

  • CARDINALITY_MANY

    Matches n != 1 and n % 100 = 1,21,41,61,81

    Example Integers: 21, 41, 61, 81, 101, 121, 141, 161, 1001, …

    Example Decimals: 21.0, 41.0, 61.0, 81.0, 101.0, 121.0, 141.0, 161.0, 1001.0, …

  • CARDINALITY_OTHER

    Matches all other values

    Example Integers: 4, 19, 100, 1004, 1000000, …

    Example Decimals: 0.1, 0.9, 1.1, 1.7, 10.0, 100.0, 1000.1, 1000000.0, …

Cardinality Ranges

No explicit CLDR cardinality-range mapping is defined for this language. Cardinality.forRange(...) therefore falls back to the ending cardinality for every range.

Ordinalities

  • ORDINALITY_ONE

    Matches n = 1..4 or n % 100 = 1..4,21..24,41..44,61..64,81..84

    Example Integers: 1, 4, 21, 24, 41, 44, 61, 64, 101, 1001, …

  • ORDINALITY_MANY

    Matches n = 5 or n % 100 = 5

    Example Integers: 5, 105, 205, 305, 405, 505, 605, 705, 1005, …

  • ORDINALITY_OTHER

    Matches all other values

    Example Integers: 0, 6, 20, 100, 1000, 10000, 100000, 1000000, …

Addendum: Language Form Rules

The language form expressions above are specified by Unicode Technical Standard #35 and use the following notation:

  • n absolute value of the source number (integer and decimals)
  • i integer digits of n
  • v number of visible fraction digits in n, with trailing zeros
  • w number of visible fraction digits in n, without trailing zeros
  • f visible fractional digits in n, with trailing zeros
  • t visible fractional digits in n, without trailing zeros
  • c/e compact decimal exponent operands used by some CLDR compact-number rules