Модуль:Бәәрн Бәәлһн Һазрин Зург: хүвлвр хоорндк йилһән

Аһулһнь уга кегдлә Аһулһнь немгдлә
Ясврин тәәлвр уга
Ясврин тәәлвр уга
112-гч мөр:
error('Seconds were provided for ' .. direction .. ' without minutes also being provided', 2)
end
end
if not hemisphere then
error('A hemisphere was not provided for ' .. direction .. ' ', 2)
end
decimal = tonumber(degrees)
Мөр 121 ⟶ 118:
end
decimal = decimal + (minutes or 0)/60 + (seconds or 0)/3600
if not hemisphere then
local multiplier = hemisphereMultipliers[direction][hemisphere]
if not multiplier then
error('The hemisphere "' .. hemisphere .. '" provided for ' .. direction .. ' is not valid', 2)
error('AThe hemisphere was"' not.. hemisphere .. '" provided for ' .. direction .. ' is not valid', 2)
end
decimal = decimal * multiplier
end
decimal = decimal * multiplier
return decimal
end