Module:Infobox MOS: Difference between revisions

Ganaram inukshuk (talk | contribs)
mNo edit summary
Ganaram inukshuk (talk | contribs)
m Changes to backslash modifier for period
Line 117: Line 117:
period_as_text = equave_as_text
period_as_text = equave_as_text
else
else
local equave_suffix = common_suffix[equave_as_text] or equave_as_text
local ed = et.new(number_of_periods, input_mos.equave)
period_as_text = string.format("1\\%ded%s", number_of_periods, equave_suffix)
period_as_text = et.backslash_ratio(ed, 1)
end
end
local period_in_cents = equave_in_cents / number_of_periods
local period_in_cents = equave_in_cents / number_of_periods