Languages / Manx (Gaelg)
Cardinalities
-
CARDINALITY_ONE
Matches v = 0 and i % 10 = 1
Example Integers: 1, 11, 21, 31, 41, 51, 61, 71, 101, 1,001
-
CARDINALITY_TWO
Matches v = 0 and i % 10 = 2
Example Integers: 2, 12, 22, 32, 42, 52, 62, 72, 102, 1,002
-
CARDINALITY_FEW
Matches v = 0 and i % 100 = 0,20,40,60,80
Example Integers: 0, 20, 40, 60, 80, 100, 120, 140, 1,000, 10,000, 100,000, 1,000,000
-
CARDINALITY_MANY
Matches v != 0
Example Decimals: 0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5
-
CARDINALITY_OTHER
Matches all other values
Example Integers: 3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 15, 16, 17, 18, 19, 23, 103, 1,003
Addendum: Language Form Rules
Cardinalities
-
CARDINALITY_ONE
Matches
v = 0 and i % 10 = 1
Example Integers:
1, 11, 21, 31, 41, 51, 61, 71, 101, 1,001
-
CARDINALITY_TWO
Matches
v = 0 and i % 10 = 2
Example Integers:
2, 12, 22, 32, 42, 52, 62, 72, 102, 1,002
-
CARDINALITY_FEW
Matches
v = 0 and i % 100 = 0,20,40,60,80
Example Integers:
0, 20, 40, 60, 80, 100, 120, 140, 1,000, 10,000, 100,000, 1,000,000
-
CARDINALITY_MANY
Matches
v != 0
Example Decimals:
0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5
-
CARDINALITY_OTHER
Matches
all other values
Example Integers:
3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 15, 16, 17, 18, 19, 23, 103, 1,003
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 ofn
-
v
number of visible fraction digits inn
, with trailing zeros -
w
number of visible fraction digits inn
, without trailing zeros -
f
visible fractional digits inn
, with trailing zeros -
t
visible fractional digits inn
, without trailing zeros
Some examples follow:
-
n = 1
⇒i = 1, v = 0, w = 0, f = 0, t = 0
-
n = 1.0
⇒i = 1, v = 1, w = 0, f = 0, t = 0
-
n = 1.00
⇒i = 1, v = 2, w = 0, f = 0, t = 0
-
n = 1.3
⇒i = 1, v = 1, w = 1, f = 3, t = 3
-
n = 1.30
⇒i = 1, v = 2, w = 1, f = 30, t = 3
-
n = 1.03
⇒i = 1, v = 2, w = 2, f = 3, t = 3
-
n = 1.230
⇒i = 1, v = 3, w = 2, f = 230, t = 23