Content deleted Content added
TartarTorte (talk | contribs) No edit summary |
m Comma "," (U+002C) → Arabic Decimal Separator "٫" (U+066B) |
||
(6 intermediate revisions by one other user not shown) | |||
Line 12:
['8'] = '٨',
['9'] = '٩',
['
}
function p.
if args == nil then
return 'Error! Arguments provided are null'
end
if args[1] == nil then
return num_str▼
end▼
local new_str, _ = string.gsub(num_str, '[0-9.]', conversion_table)
end
function p.convert(frame)
▲ return nil
▲ end
▲ local num_str = tostring(frame.args[1])
end
|