Module:Coordinates: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 261: Line 261:
local d = math.floor(coordinate % 360) .."°"
local d = math.floor(coordinate % 360) .."°"


return d .. string.format( "%02d′", m ) .. string.format( "%02d′", m )
return d .. string.format( "%02d′", m ) .. string.format( "%02d′", s )
end
end