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

ArrowHead294 (talk | contribs)
m SyntaxHighlight may be better than "pre" for this, actually
Tag: Manual revert
ArrowHead294 (talk | contribs)
mNo edit summary
Line 225: Line 225:
return result
return result
end
end
-- local function prec_by_equal (steps)
-- return math.floor (math.log (steps*1.9)/math.log (10))
-- end


function p.q_odd_limit_intervals(frame)
function p.q_odd_limit_intervals(frame)
Line 279: Line 275:
end
end
return frame:preprocess(debugg == true and "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>" or result)
if debugg == true then
result = "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>"
end
return frame:preprocess(result)
end
end


return p
return p