Module:JI ratio finder: Difference between revisions

Ganaram inukshuk (talk | contribs)
Added filtering by complement-agnostic Tenney height (eg, 4/3 and 3/2 will report the same Tenney height, defined as which height between the two is smaller)
Ganaram inukshuk (talk | contribs)
m Fixed delimiter-adding code
Line 225: Line 225:
for i = 1, #ratios do
for i = 1, #ratios do
text = text .. rat.as_ratio(ratios[i])
text = text .. rat.as_ratio(ratios[i])
if i ~= #ratios then
if i < #ratios then
text = text .. delimiter
text = text .. delimiter
end
end