Module:MOS intro: Difference between revisions
Cent values are now rounded to 3 decimal places; the word "step" will now be made plural if needed |
m Generator range values were swapped, corrected |
||
| Line 105: | Line 105: | ||
local collapsed_gen_in_cents = utils._round_dec(et.cents(equalized_et, gen_equalized_in_steps), round) | local collapsed_gen_in_cents = utils._round_dec(et.cents(equalized_et, gen_equalized_in_steps), round) | ||
local equalized_gen_in_cents = utils._round_dec(et.cents(collapsed_et, gen_collapsed_in_steps), round) | local equalized_gen_in_cents = utils._round_dec(et.cents(collapsed_et, gen_collapsed_in_steps), round) | ||
intro = intro .. "This scale is made using a [[generator]] ranging from " .. | intro = intro .. "This scale is made using a [[generator]] ranging from " .. collapsed_gen_in_cents | ||
intro = intro .. "¢ to " .. | intro = intro .. "¢ to " .. equalized_gen_in_cents .. "¢." | ||
return intro | return intro | ||