Module:ConverterNTN

Revision as of 15:40, 20 January 2024 by Mahdipor (talk | contribs) (Created page with "-- Convert number to number local p = {} local converter = require("Module:Numeral converter") function p.toen(frame) return converter.convert("en", frame:getParent().args[1]) end function p.tofa(frame) return converter.convert("fa", frame:getParent().args[1]) end return p")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:ConverterNTN/doc

-- Convert number to number
local p = {}
local converter = require("Module:Numeral converter")

function p.toen(frame)
	return converter.convert("en", frame:getParent().args[1])
end

function p.tofa(frame)
	return converter.convert("fa", frame:getParent().args[1])
end

return p