Content deleted Content added
Tom.Reding (talk | contribs) Tweak addord |
Tom.Reding (talk | contribs) m Lua's subpar regex |
||
Line 10:
if tonumber(i) then
local s = tostring(i)
local tens
local ones = string.match(s, '%d$')
if tens
elseif ones == '1' then return s..'st'
elseif ones == '2' then return s..'nd'
|