This module contains data on various types of numbers in Ido.
local export = {numbers = {}}
local numbers = export.numbers
numbers = {
cardinal = "zero"
}
numbers = {
cardinal = "un"
}
numbers = {
cardinal = "du"
}
numbers = {
cardinal = "tri"
}
numbers = {
cardinal = "quar"
}
numbers = {
cardinal = "kin"
}
numbers = {
cardinal = "sis"
}
numbers = {
cardinal = "sep"
}
numbers = {
cardinal = "ok"
}
numbers = {
cardinal = "non"
}
numbers = {
cardinal = "dek"
}
for ones = 0, 9 do
for tens = 0, 9 do
local ones_cardinal = numbers.cardinal
local tens_cardinal = numbers.cardinal
local number = ones_cardinal
if tens ~= 0 then
if tens == 1 then
tens_cardinal = "dek"
else
tens_cardinal = tens_cardinal .. "adek"
end
if ones == 0 then
number = tens_cardinal
else
number = tens_cardinal .. "-e-" .. ones_cardinal
end
end
local cardinal = number
if ones == 0 and tens == 0 then
number = "zer"
end
numbers = {
cardinal = cardinal,
ordinal = number .. "esma",
adverbial = number .. "foye",
multiplier = number .. "opla",
fractional = number .. "ima",
}
end
end
numbers = {
cardinal = "cent",
ordinal = "centesma",
adverbial = "centfoye",
multiplier = "centopla",
fractional = "centima",
}
numbers = {
cardinal = "mil",
ordinal = "milesma",
adverbial = "milfoye",
multiplier = "milopla",
fractional = "milima",
}
return export