Module:Q-odd-limit intervals: Difference between revisions

We've noted that relative error is interesting too
m There were a few issues it seems
Line 157: Line 157:
ratiocomp = "'''" .. ratiocomp .. "'''"
ratiocomp = "'''" .. ratiocomp .. "'''"
error_abs = "'''" .. error_abs .. "'''"
error_abs = "'''" .. error_abs .. "'''"
error_rel = "'''" .. error_rel .. "''"
error_rel = "'''" .. error_rel .. "'''"
end if error_list[i].error_rel > 50 then
end if error_list[i].error_rel > 50 then
ratiocomp = "''" .. ratiocomp .. "''"
ratiocomp = "''" .. ratiocomp .. "''"
Line 171: Line 171:
"! Interval, complement\n" ..
"! Interval, complement\n" ..
"! Error (abs, [[Cent|¢]])\n" ..
"! Error (abs, [[Cent|¢]])\n" ..
"! Error (rel, [[Relative cent|%]]\n" ..
"! Error (rel, [[Relative cent|%]])\n" ..
table.concat (t_body, "\n") ..
table.concat (t_body, "\n") ..
"\n|}"
"\n|}"