Module:Coordinates: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(move to labs) |
(trim spaces on direction for convert_dms2dec) |
||
Line 365: | Line 365: | ||
local factor |
local factor |
||
direction = mw.ustring.gsub(direction, '^[ ]*(.-)[ ]*$', '%1'); |
|||
if direction == "N" or direction == "E" then |
if direction == "N" or direction == "E" then |
||
factor = 1 |
factor = 1 |