Module:MOS degrees: Difference between revisions

Ganaram inukshuk (talk | contribs)
Cent values are rounded to 1 decimal place now
Ganaram inukshuk (talk | contribs)
No edit summary
Line 103: Line 103:
local input_mos = input_mos or mos.new(5, 2, 2)
local input_mos = input_mos or mos.new(5, 2, 2)
local genchain_length_per_period = genchain_length_per_period or 10
local genchain_length_per_period = genchain_length_per_period or 10
local going_up = true
local going_up = false
]]--
]]--
Line 283: Line 283:
-- Get the degrees
-- Get the degrees
local asc_degrees = p.mos_degrees(input_mos, asc_chain_length, true)
local asc_degrees = p.mos_degrees(input_mos, asc_chain_length, true)
local des_degrees = p.mos_degrees(input_mos, des_chain_length, true)
local des_degrees = p.mos_degrees(input_mos, des_chain_length, false)
-- Format the output as a table, starting with the header row
-- Format the output as a table, starting with the header row