Module:Coordinates: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 338:
local precision = 0
if not isEmpty(seconds_str) then
precision = 5 + math.max( math_mod._precision(seconds_str), 0 );
elseif not isEmpty(minutes_str) then
precision = 3 + math.max( math_mod._precision(minutes_str), 0 );
else
precision = math.max( math_mod._precision(degrees_str), 0 );
end
Anonymous user