Module:ToCoords

local p = {} function p.ToCoords( f ) local args = f:getParent.args local y, x = 0, 0

if args.y ~= nil then y = args.y	end

if args.x ~= nil then x = args.x	end local lat = string.format("%0.2f", 100-(y/105000)) local lon = string.format("%0.2f", (x/105000)-100)

return ..lat..','..lon.. end return p