Module:Convert to eastern arabic numerals/sandbox explained

local p =

local CONVERSION_TABLE =

function p._convert(args) if not args or not args[1] then return "Error! Arguments provided are null" end local num_str = tostring(args[1]) local new_str = string.gsub(num_str, "[0-9.]", CONVERSION_TABLE) return new_strend

function p.convert(frame) return p._convert(frame.args)end

return p