Module:Coordinates: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 80:
if lat_m == nil and lat_s == nil and long_m == nil and long_s == nil then
if math_mod._precision( lat_d ) > 0 or math_mod._precision( long_d ) > 0 then
if lat_f:upper() == 'S' then
lat_dif lat_f:upper() == '-S' ..then lat_d;
end lat_d = '-' .. lat_d;
if long_f:upper() == 'W' then end
long_dif long_f:upper() == '-W' ..then long_d;
end long_d = '-' .. long_d;
end
return parseDec( lat_d, long_d, format );
return parseDec( lat_d, long_d, format );
end
end
Anonymous user