انتقل إلى المحتوى

وحدة:EasternNum

من ويكي مصدر، المكتبة الحرة
-- تقوم الوحدة بإرجاع أرقام مشرقية
local function eastern_numbers(thenumber)
	local str_number = tostring(thenumber)
	local ret_str = ''	
	for i=1,#str_number do
		ret_str = ret_str .. mw.ustring.char(0x0660 + tonumber(string.sub(str_number,i,i)))
	end
	return ret_str
end

local function main(frame)
	return eastern_numbers(frame.args[1])
end

return {main=main,
	eastern_numbers=eastern_numbers}
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy