Module:Convert to eastern arabic numerals: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Tag: Reverted
Line 17:
function p.convert(frame)
local num_str = tostring(frame.args[1])
forreturn westernstring.gsub(num_str, eastern'[0-9.]', in pairs(conversion_table) do
num_str = string.gsub(num_str, western, eastern)
end
return num_str
end