Module:Coordinates: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 81: Line 81:
if lat_m == nil and lat_s == nil and long_m == nil and long_s == nil then
if lat_m == nil and lat_s == nil and long_m == nil and long_s == nil then
if lat_f:upper() == 'S' then
if lat_f:upper() == 'S' then
lat_d = -lat_d;
lat_d = -tonumber(lat_d);
end
end
if long_f:upper() == 'W' then
if long_f:upper() == 'W' then
long_d = -long_d;
long_d = -tonumber(long_d);
end
end