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

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