Module:number list/data/io

local export = {numbers = {}}

local numbers = export.numbers

numbers[0] = { cardinal = "zero" }

numbers[1] = { cardinal = "un" }

numbers[2] = { cardinal = "du" }

numbers[3] = { cardinal = "tri" }

numbers[4] = { cardinal = "quar" }

numbers[5] = { cardinal = "kin" }

numbers[6] = { cardinal = "sis" }

numbers[7] = { cardinal = "sep" }

numbers[8] = { cardinal = "ok" }

numbers[9] = { cardinal = "non" }

numbers[10] = { cardinal = "dek" }

for ones = 0, 9 do	for tens = 0, 9 do		local ones_cardinal = numbers[ones].cardinal local tens_cardinal = numbers[tens].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[tens * 10 + ones] = { cardinal = cardinal, ordinal = number .. "esma", adverbial = number .. "foye", multiplier = number .. "opla", fractional = number .. "ima", }	end end

numbers[100] = { cardinal = "cent", ordinal = "centesma", adverbial = "centfoye", multiplier = "centopla", fractional = "centima", }

numbers[1000] = { cardinal = "mil", ordinal = "milesma", adverbial = "milfoye", multiplier = "milopla", fractional = "milima", }

return export