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