This module contains data on various types of numbers in Esperanto.
local export = {numbers = {}}
local numbers = export.numbers
numbers = {
cardinal = "nul",
ordinal = "nula",
}
numbers = {
cardinal = "unu",
}
numbers = {
cardinal = "du",
}
numbers = {
cardinal = "tri",
}
numbers = {
cardinal = "kvar",
}
numbers = {
cardinal = "kvin",
}
numbers = {
cardinal = "ses",
}
numbers = {
cardinal = "sep",
}
numbers = {
cardinal = "ok",
}
numbers = {
cardinal = "naŭ",
}
for i = 1, 9 do
numbers.ordinal = numbers.cardinal .. "a"
numbers.adverbial = numbers.cardinal .. "e"
numbers.multiplier = {numbers.cardinal .. "obla", numbers.cardinal .. "opa"}
numbers.fractional = {numbers.cardinal .. "ona", numbers.cardinal .. "ono"}
local tens_cardinal = "dek"
if i ~= 1 then
tens_cardinal = numbers.cardinal .. "dek"
numbers = {
cardinal = tens_cardinal,
ordinal = tens_cardinal .. "a",
}
numbers = {
cardinal = numbers.cardinal .. "cent",
ordinal = numbers.cardinal .. "centa",
}
end
for ones = 1, 9 do
numbers = {
cardinal = tens_cardinal .. " " .. numbers.cardinal,
ordinal = tens_cardinal .. "-" .. numbers.cardinal .. "a",
}
end
end
numbers = {
cardinal = "dek",
ordinal = "deka",
adverbial = "deke",
multiplier = {"dekobla", "dekopa"},
fractional = {"dekona", "dekono"},
}
numbers = {
cardinal = "cent",
ordinal = "centa",
adverbial = "cente",
multiplier = {"centobla", "centopa"},
fractional = {"centona", "centono"},
}
numbers = {
cardinal = "mil",
ordinal = "mila",
adverbial = "mile",
multiplier = {"milobla", "milopa"},
fractional = {"milona", "milono"},
}
return export