模組:Number list/data/eo
- 下列說明文檔由Module:documentation/functions/number list所生成。[編輯]
- 相關連結:根頁面 • 根頁面的子頁面 • 本頁面的子頁面 • 链入 • 嵌入包含 • 測試用例 • 沙盒
本模块包含有關世界語中各種類型數字的数据。
(edit)
local export = {numbers = {}}
local numbers = export.numbers
numbers[0] = {
cardinal = "nul",
ordinal = "nula",
}
numbers[1] = {
cardinal = "unu",
}
numbers[2] = {
cardinal = "du",
}
numbers[3] = {
cardinal = "tri",
}
numbers[4] = {
cardinal = "kvar",
}
numbers[5] = {
cardinal = "kvin",
}
numbers[6] = {
cardinal = "ses",
}
numbers[7] = {
cardinal = "sep",
}
numbers[8] = {
cardinal = "ok",
}
numbers[9] = {
cardinal = "naŭ",
}
for i = 1, 9 do
numbers[i].ordinal = numbers[i].cardinal .. "a"
numbers[i].adverbial = numbers[i].cardinal .. "e"
numbers[i].multiplier = {numbers[i].cardinal .. "obla", numbers[i].cardinal .. "opa"}
numbers[i].fractional = {numbers[i].cardinal .. "ona", numbers[i].cardinal .. "ono"}
local tens_cardinal = "dek"
if i ~= 1 then
tens_cardinal = numbers[i].cardinal .. "dek"
numbers[i * 10] = {
cardinal = tens_cardinal,
ordinal = tens_cardinal .. "a",
}
numbers[i * 100] = {
cardinal = numbers[i].cardinal .. "cent",
ordinal = numbers[i].cardinal .. "centa",
}
end
for ones = 1, 9 do
numbers[i * 10 + ones] = {
cardinal = tens_cardinal .. " " .. numbers[ones].cardinal,
ordinal = tens_cardinal .. "-" .. numbers[ones].cardinal .. "a",
}
end
end
numbers[10] = {
cardinal = "dek",
ordinal = "deka",
adverbial = "deke",
multiplier = {"dekobla", "dekopa"},
fractional = {"dekona", "dekono"},
}
numbers[100] = {
cardinal = "cent",
ordinal = "centa",
adverbial = "cente",
multiplier = {"centobla", "centopa"},
fractional = {"centona", "centono"},
}
numbers[1000] = {
cardinal = "mil",
ordinal = "mila",
adverbial = "mile",
multiplier = {"milobla", "milopa"},
fractional = {"milona", "milono"},
}
return export