Module:Convert to eastern arabic numerals: Difference between revisions

Content deleted Content added
Escape .
Tag: Reverted
Undid revision 1062364262 by Snood1205 (talk)
Line 17:
function p.convert(frame)
local num_str = tostring(frame.args[1])
returnfor num_str:gsub('[0-9%.]'western, eastern in pairs(conversion_table) do
num_str = string.gsub(num_str, western, eastern)
end
return num_str
end