This module contains data on various types of numbers in มอลตา.

จำนวน เชิงการนับ Attributive cardinal เชิงอันดับที่ เชิงกริยาวิเศษณ์ เศษส่วน (⅟…)
0 żero
1 wieħed ewwel darba
2 tnejn (short form) żewġ, (long form) żewġt, (short form) ġiex, (long form) ġiext tieni darbtejn nofs
3 tlieta (short form) tliet, (long form) tlitt tielet tliet darbiet terz
4 erbgħa (short form) erba’, (long form) erbat raba’ erba’ darbiet kwart, (obsolete) robbu
5 ħamsa (short form) ħames, (long form) ħamest ħames ħames darbiet kwint
6 sitta sitt sitt sitt darbiet
7 sebgħa (short form) seba’, (long form) sebat seba’ seba’ darbiet
8 tmienja (short form) tmien, (long form) tmint tmien tmien darbiet
9 disgħa (short form) disa’, (long form) disat disa’ disa’ darbiet
10 għaxra (short form) għaxar, (long form) għaxart għaxar għaxar darbiet
11 ħdax ħdax-il ħdax-il darba
12 tnax tnax-il tnax-il darba
13 tlettax tlettax-il tlettax-il darba
14 erbatax erbatax-il erbatax-il darba
15 ħmistax ħmistax-il ħmistax-il darba
16 sittax sittax-il sittax-il darba
17 sbatax sbatax-il sbatax-il darba
18 tmintax tmintax-il tmintax-il darba
19 dsatax dsatax-il dsatax-il darba
20 għoxrin
21 wieħed u għoxrin
22 tnejn u għoxrin
23 tlieta u għoxrin
24 erbgħa u għoxrin
25 ħamsa u għoxrin
26 sitta u għoxrin
27 sebgħa u għoxrin
28 tmienja u għoxrin
29 disgħa u għoxrin
30 tletin
31 wieħed u tletin
32 tnejn u tletin
33 tlieta u tletin
34 erbgħa u tletin
35 ħamsa u tletin
36 sitta u tletin
37 sebgħa u tletin
38 tmienja u tletin
39 disgħa u tletin
40 erbgħin
41 wieħed u erbgħin
42 tnejn u erbgħin
43 tlieta u erbgħin
44 erbgħa u erbgħin
45 ħamsa u erbgħin
46 sitta u erbgħin
47 sebgħa u erbgħin
48 tmienja u erbgħin
49 disgħa u erbgħin
50 ħamsin
51 wieħed u ħamsin
52 tnejn u ħamsin
53 tlieta u ħamsin
54 erbgħa u ħamsin
55 ħamsa u ħamsin
56 sitta u ħamsin
57 sebgħa u ħamsin
58 tmienja u ħamsin
59 disgħa u ħamsin
60 sittin
61 wieħed u sittin
62 tnejn u sittin
63 tlieta u sittin
64 erbgħa u sittin
65 ħamsa u sittin
66 sitta u sittin
67 sebgħa u sittin
68 tmienja u sittin
69 disgħa u sittin
70 sebgħin
71 wieħed u sebgħin
72 tnejn u sebgħin
73 tlieta u sebgħin
74 erbgħa u sebgħin
75 ħamsa u sebgħin
76 sitta u sebgħin
77 sebgħa u sebgħin
78 tmienja u sebgħin
79 disgħa u sebgħin
80 tmenin
81 wieħed u tmenin
82 tnejn u tmenin
83 tlieta u tmenin
84 erbgħa u tmenin
85 ħamsa u tmenin
86 sitta u tmenin
87 sebgħa u tmenin
88 tmienja u tmenin
89 disgħa u tmenin
90 disgħin
91 wieħed u disgħin
92 tnejn u disgħin
93 tlieta u disgħin
94 erbgħa u disgħin
95 ħamsa u disgħin
96 sitta u disgħin
97 sebgħa u disgħin
98 tmienja u disgħin
99 disgħa u disgħin
100 mija mitt
200 mitejn
300 tliet mija tliet mitt
400 erba’ mija erba’ mitt
500 ħames mija ħames mitt
600 sitt mija sitt mitt
700 seba’ mija seba’ mitt
800 tmien mija tmien mitt
900 disa’ mija disa’ mitt
1,000 elf
2,000 elfejn
3,000 tlitt elef
4,000 erbat elef
5,000 ħamest elef
6,000 sitt elef
7,000 sebat elef
8,000 tmint elef
9,000 disat elef
10,000 għaxart elef
11,000 ħdax-il elf
12,000 tnax-il elf
13,000 tlettax-il elf
14,000 erbatax-il elf
15,000 ħmistax-il elf
16,000 sittax-il elf
17,000 sbatax-il elf
18,000 tmintax-il elf
19,000 dsatax-il elf
100,000 mitt elf
1,000,000 (106) miljun, (obsolete) elf l-eluf, (obsolete) elf l-elufijiet, (obsolete) għaxar mitt elf
1,000,000,000 (109) biljun
1012 triljun
1015 kwadriljun
1018 kwintiljun
1021 sistiljun

local export = {numbers = {}}

local numbers = export.numbers

local m_numutils = require("Module:number list/utils")
local power_of = m_numutils.power_of

export.additional_number_types = {
	{ key = "attr_cardinal", display = "Attributive cardinal", after = "cardinal" }
}

numbers[0] = {
	cardinal = "żero",
}

numbers[1] = {
	cardinal = "wieħed",
	ordinal = "ewwel",
	adverbial = "darba",
}

numbers[2] = {
	cardinal = "tnejn",
	attr_cardinal = { "żewġ<q:short form>", "żewġt<q:long form>", "ġiex<q:short form>", "ġiext<q:long form>" },
	ordinal = "tieni",
	fractional = "nofs",
	adverbial = "darbtejn",
}

numbers[3] = {
	cardinal = "tlieta",
	attr_cardinal = { "tliet<q:short form>", "tlitt<q:long form>" },
	ordinal = "tielet",
	fractional = "terz",
	adverbial = "[[tliet]] [[darba|darbiet]]",
}

numbers[4] = {
	cardinal = "erbgħa",
	attr_cardinal = { "erba'<q:short form>", "erbat<q:long form>" },
	ordinal = "raba'",
	fractional = { "kwart", "robbu<q:obsolete>" },
	adverbial = "[[erba']] [[darba|darbiet]]",
}

numbers[5] = {
	cardinal = "ħamsa",
	attr_cardinal = { "ħames<q:short form>", "ħamest<q:long form>" },
	ordinal = "ħames",
	fractional = "kwint",
	adverbial = "[[ħames]] [[darba|darbiet]]",
}

numbers[6] = {
	cardinal = "sitta",
	attr_cardinal = { "sitt" },
	ordinal = "sitt",
	adverbial = "[[sitt]] [[darba|darbiet]]",
}

numbers[7] = {
	cardinal = "sebgħa",
	attr_cardinal = { "seba'<q:short form>", "sebat<q:long form>" },
	ordinal = "seba'",
	adverbial = "[[seba']] [[darba|darbiet]]",
}

numbers[8] = {
	cardinal = "tmienja",
	attr_cardinal = { "tmien<q:short form>", "tmint<q:long form>" },
	ordinal = "tmien",
	adverbial = "[[tmien]] [[darba|darbiet]]",
}

numbers[9] = {
	cardinal = "disgħa",
	attr_cardinal = { "disa'<q:short form>", "disat<q:long form>" },
	ordinal = "disa'",
	adverbial = "[[disa']] [[darba|darbiet]]",
}

numbers[10] = {
	cardinal = "għaxra",
	attr_cardinal = { "għaxar<q:short form>", "għaxart<q:long form>" },
	ordinal = "għaxar",
	adverbial = "[[għaxar]] [[darba|darbiet]]",
}

numbers[11] = {
	cardinal = "ħdax",
	attr_cardinal = { "ħdax-il" },
	adverbial = "[[ħdax-il]] [[darba]]",
}

numbers[12] = {
	cardinal = "tnax",
	attr_cardinal = { "tnax-il" },
	adverbial = "[[tnax-il]] [[darba]]",
}

numbers[13] = {
	cardinal = "tlettax",
	attr_cardinal = { "tlettax-il" },
	adverbial = "[[tlettax-il]] [[darba]]",
}

numbers[14] = {
	cardinal = "erbatax",
	attr_cardinal = { "erbatax-il" },
	adverbial = "[[erbatax-il]] [[darba]]",
}

numbers[15] = {
	cardinal = "ħmistax",
	attr_cardinal = { "ħmistax-il" },
	adverbial = "[[ħmistax-il]] [[darba]]",
}

numbers[16] = {
	cardinal = "sittax",
	attr_cardinal = { "sittax-il" },
	adverbial = "[[sittax-il]] [[darba]]",
}

numbers[17] = {
	cardinal = "sbatax",
	attr_cardinal = { "sbatax-il" },
	adverbial = "[[sbatax-il]] [[darba]]",
}

numbers[18] = {
	cardinal = "tmintax",
	attr_cardinal = { "tmintax-il" },
	adverbial = "[[tmintax-il]] [[darba]]",
}

numbers[19] = {
	cardinal = "dsatax",
	attr_cardinal = { "dsatax-il" },
	adverbial = "[[dsatax-il]] [[darba]]",
}

local function unpack_ipairs(t)
	local i = 0
	return function()
		i = i + 1
		if t[i] then
			return i, unpack(t[i])
		end
	end
end

for i, tens_cardinal in unpack_ipairs {
	{ "għoxrin"},
	{ "tletin" },
	{ "erbgħin" },
	{ "ħamsin" },
	{ "sittin" },
	{ "sebgħin" },
	{ "tmenin" },
	{ "disgħin" },
} do
	local tens = (i + 1) * 10
	numbers[tens] = {
		cardinal = tens_cardinal,
	}
	local suffix = (" u " .. tens_cardinal)
	local one_word_cardinal = suffix:sub(-1) ~= " "
	for ones = 1, 9 do
		local ones_cardinal = numbers[ones].cardinal
		local cardinal = ones_cardinal .. suffix
		local number = {}
		numbers[tens + ones] = number
		number.cardinal = cardinal
	end
end

numbers[100] = {
	cardinal = "mija",
	attr_cardinal = "mitt",
}

numbers[200] = {
	cardinal = "mitejn",
}

numbers[300] = {
	cardinal = "tliet mija",
	attr_cardinal = "[[tliet]] [[mitt]]",
}

numbers[400] = {
	cardinal = "erba' mija",
	attr_cardinal = "[[erba']] [[mitt]]",
}

numbers[500] = {
	cardinal = "ħames mija",
	attr_cardinal = "[[ħames]] [[mitt]]",
}

numbers[600] = {
	cardinal = "sitt mija",
	attr_cardinal = "[[sitt]] [[mitt]]",
}

numbers[700] = {
	cardinal = "seba' mija",
	attr_cardinal = "[[seba']] [[mitt]]",
}

numbers[800] = {
	cardinal = "tmien mija",
	attr_cardinal = "[[tmien]] [[mitt]]",
}

numbers[900] = {
	cardinal = "disa' mija",
	attr_cardinal = "[[disa']] [[mitt]]",
}

numbers[1000] = {
	cardinal = "elf",
}

numbers[2000] = {
	cardinal = "elfejn",
}

numbers[3000] = {
	cardinal = "tlitt elef",
}

numbers[4000] = {
	cardinal = "erbat elef",
}

numbers[5000] = {
	cardinal = "ħamest elef",
}

numbers[6000] = {
	cardinal = "sitt elef",
}

numbers[7000] = {
	cardinal = "sebat elef",
}

numbers[8000] = {
	cardinal = "tmint elef",
}

numbers[9000] = {
	cardinal = "disat elef",
}

numbers[10000] = {
	cardinal = "għaxart elef",
}

numbers[11000] = {
	cardinal = "ħdax-il elf",
}

numbers[12000] = {
	cardinal = "tnax-il elf",
}

numbers[13000] = {
	cardinal = "tlettax-il elf",
}

numbers[14000] = {
	cardinal = "erbatax-il elf",
}

numbers[15000] = {
	cardinal = "ħmistax-il elf",
}

numbers[16000] = {
	cardinal = "sittax-il elf",
}

numbers[17000] = {
	cardinal = "sbatax-il elf",
}

numbers[18000] = {
	cardinal = "tmintax-il elf",
}

numbers[19000] = {
	cardinal = "dsatax-il elf",
}

numbers[100000] = {
	cardinal = "mitt elf",
}

numbers[1000000] = {
	cardinal = {"miljun", "elf l-eluf<q:obsolete>", "elf l-elufijiet<q:obsolete>", "għaxar mitt elf<q:obsolete>"},
}

numbers[1000000000] = {
	cardinal = "biljun",
}

numbers[power_of(12)] = {
	cardinal = "triljun",
}

numbers[power_of(15)] = {
	cardinal = "kwadriljun",
}

numbers[power_of(18)] = {
	cardinal = "kwintiljun",
}

numbers[power_of(21)] = {
	cardinal = "sistiljun",
}

return export