Module:Convert to eastern arabic numerals: Difference between revisions

Content deleted Content added
This should do the trick
 
No edit summary
Line 15:
}
 
function p.convert(numberframe)
local num_str = tostring(numberframe.args[1])
for western, eastern in pairs(conversion_table) do
num_str = string.gsub(num_str, western, eastern)