Languages / Croatian (hrvatski)
Cardinalities
-
CARDINALITY_ONE
Matches v = 0 and i % 10 = 1 and i % 100 != 11 or f % 10 = 1 and f % 100 != 11
Example Integers: 1, 21, 31, 41, 51, 61, 71, 81, 101, 1,001
Example Decimals: 0.1, 1.1, 2.1, 3.1, 4.1, 5.1, 6.1, 7.1, 10.1, 100.1, 1,000.1
-
CARDINALITY_FEW
Matches v = 0 and i % 10 = 2..4 and i % 100 != 12..14 or f % 10 = 2..4 and f % 100 != 12..14
Example Integers: 2, 3, 4, 22, 23, 24, 32, 33, 34, 42, 43, 44, 52, 53, 54, 62, 102, 1,002
Example Decimals: 0.2, 0.3, 0.4, 1.2, 1.3, 1.4, 2.2, 2.3, 2.4, 3.2, 3.3, 3.4, 4.2, 4.3, 4.4, 5.2, 10.2, 100.2, 1,000.2
-
CARDINALITY_OTHER
Matches all other values
Example Integers: 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 100, 1,000, 10,000, 100,000, 1,000,000
Example Decimals: 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.5, 1.6, 1.7, 1.8, 1.9, 2.0, 2.5, 2.6, 2.7
Cardinality Ranges
-
CARDINALITY_ONE - CARDINALITY_ONE
Matches CARDINALITY_ONE
-
CARDINALITY_ONE - CARDINALITY_FEW
Matches CARDINALITY_FEW
-
CARDINALITY_ONE - CARDINALITY_OTHER
Matches CARDINALITY_OTHER
-
CARDINALITY_FEW - CARDINALITY_ONE
Matches CARDINALITY_ONE
-
CARDINALITY_FEW - CARDINALITY_FEW
Matches CARDINALITY_FEW
-
CARDINALITY_FEW - CARDINALITY_OTHER
Matches CARDINALITY_OTHER
-
CARDINALITY_OTHER - CARDINALITY_ONE
Matches CARDINALITY_ONE
-
CARDINALITY_OTHER - CARDINALITY_FEW
Matches CARDINALITY_FEW
-
CARDINALITY_OTHER - CARDINALITY_OTHER
Matches CARDINALITY_OTHER
Ordinalities
-
ORDINALITY_OTHER
Matches any value
Example Integers: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 1,000, 10,000, 100,000, 1,000,000
Addendum: Language Form Rules
Cardinalities
-
CARDINALITY_ONE
Matches
v = 0 and i % 10 = 1 and i % 100 != 11 or f % 10 = 1 and f % 100 != 11
Example Integers:
1, 21, 31, 41, 51, 61, 71, 81, 101, 1,001
Example Decimals:
0.1, 1.1, 2.1, 3.1, 4.1, 5.1, 6.1, 7.1, 10.1, 100.1, 1,000.1
-
CARDINALITY_FEW
Matches
v = 0 and i % 10 = 2..4 and i % 100 != 12..14 or f % 10 = 2..4 and f % 100 != 12..14
Example Integers:
2, 3, 4, 22, 23, 24, 32, 33, 34, 42, 43, 44, 52, 53, 54, 62, 102, 1,002
Example Decimals:
0.2, 0.3, 0.4, 1.2, 1.3, 1.4, 2.2, 2.3, 2.4, 3.2, 3.3, 3.4, 4.2, 4.3, 4.4, 5.2, 10.2, 100.2, 1,000.2
-
CARDINALITY_OTHER
Matches
all other values
Example Integers:
0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 100, 1,000, 10,000, 100,000, 1,000,000
Example Decimals:
0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.5, 1.6, 1.7, 1.8, 1.9, 2.0, 2.5, 2.6, 2.7
Cardinality Ranges
-
CARDINALITY_ONE - CARDINALITY_ONE
Matches
CARDINALITY_ONE
-
CARDINALITY_ONE - CARDINALITY_FEW
Matches
CARDINALITY_FEW
-
CARDINALITY_ONE - CARDINALITY_OTHER
Matches
CARDINALITY_OTHER
-
CARDINALITY_FEW - CARDINALITY_ONE
Matches
CARDINALITY_ONE
-
CARDINALITY_FEW - CARDINALITY_FEW
Matches
CARDINALITY_FEW
-
CARDINALITY_FEW - CARDINALITY_OTHER
Matches
CARDINALITY_OTHER
-
CARDINALITY_OTHER - CARDINALITY_ONE
Matches
CARDINALITY_ONE
-
CARDINALITY_OTHER - CARDINALITY_FEW
Matches
CARDINALITY_FEW
-
CARDINALITY_OTHER - CARDINALITY_OTHER
Matches
CARDINALITY_OTHER
Ordinalities
-
ORDINALITY_OTHER
Matches
any value
Example Integers:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 1,000, 10,000, 100,000, 1,000,000
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